From c21e080578208d8e8d482c1e0f5c88c66ea27d6a Mon Sep 17 00:00:00 2001 From: Benjamin Alan Weaver Date: Wed, 29 Nov 2023 14:24:07 -0700 Subject: [PATCH] use pip install --- .github/workflows/python-package.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 2f9a472..5f0286c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -111,8 +111,10 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - name: Set PYTHONPATH to checkout directory - run: echo PYTHONPATH=$(pwd)/py/desiutil >> ${GITHUB_ENV} + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip setuptools wheel + python -m pip install --editable . - name: Generate api.rst run: ./bin/desi_api_file --api ./api.rst desiutil - name: Compare generated api.rst to checked-in version