scikit-learn/build_tools/github/build_source.sh

21 lines
391 B
Bash
Executable File

#!/bin/bash
set -e
set -x
# Move up two levels to create the virtual
# environment outside of the source folder
cd ../../
python -m venv build_env
source build_env/bin/activate
python -m pip install numpy scipy cython
python -m pip install twine
cd scikit-learn/scikit-learn
python setup.py sdist
# Check whether the source distribution will render correctly
twine check dist/*.tar.gz