Skip to content

Commit

Permalink
PKG: always use python -m pip install ...
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Feb 27, 2024
1 parent 66d442a commit b22208e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,20 @@ fi
# These packages are installed in the base environment but may be older
# versions. Explicitly upgrade them because they often create
# installation problems if out of date.
which python
python -VV

python -m pip install --upgrade pip setuptools wheel numpy

# # Generate .whl file.
python setup.py sdist bdist_wheel
ls -la dist/

# Install this package and the packages listed in requirements.txt.
pip install dist/edrixs-*-cp${PYTHON_VERSION_NODOT}*.whl
python -m pip install dist/edrixs-*-cp${PYTHON_VERSION_NODOT}*.whl

# Install extra requirements for running tests and building docs.
pip install -r requirements-dev.txt
python -m pip install -r requirements-dev.txt

# List the depencencies
pip list
python -m pip list

0 comments on commit b22208e

Please sign in to comment.