diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c09aa707f..3262c463d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -66,7 +66,7 @@ jobs: echo "SRC_DIR=$(pwd)" >> ${GITHUB_ENV} echo "TMP_DIR=$(mktemp -d)" >> ${GITHUB_ENV} # next step also creates _version.py file - echo "VERSION=$(./setup.py --version)" >> ${GITHUB_ENV} + echo "VERSION=$(python -m setuptools_scm)" >> ${GITHUB_ENV} - name: Show Environment variables run: | @@ -111,7 +111,7 @@ jobs: - name: Info run: | - set -vxeuo pipefail + set -vxeuo pipefail cd "${TMP_DIR}" echo "pwd=$(pwd)" ls -laFGh diff --git a/docs/source/install.rst b/docs/source/install.rst index 100c36bd2..502a46419 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -37,18 +37,10 @@ GitHub repository listed above:: $ git clone http://github.com/BCDA-APS/apstools.git -To install in the standard Python location:: +To install from the source directory using ``pip`` in editable mode:: $ cd apstools - $ python setup.py install - -To install in user's home directory:: - - $ python setup.py install --user - -To install in an alternate location:: - - $ python setup.py install --prefix=/path/to/installation/dir + $ python -m pip install -e . Required Libraries ##################