diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index ad919dc9..ca3b76f6 100755 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -15,10 +15,14 @@ sudo apt-get install -y \ # 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. -python -m pip install --upgrade pip setuptools wheel numpy +# python -m pip install --upgrade pip setuptools wheel numpy +python -m pip install --upgrade pip setuptools build numpy # # Generate .whl file. -python setup.py sdist bdist_wheel +# python setup.py sdist bdist_wheel + +# New style: +python -m build . # Install this package and the packages listed in requirements.txt. pip install -v .