1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
# Check that we have the expected version and architecture for Python
ant.exe -version
python.exe --version
python.exe -c "import struct; print(struct.calcsize('P') * 8)"
# Install the build dependencies of the project. If some dependencies contain
# compiled extensions and are not provided as pre-built wheel packages,
# pip will build them from source using the MSVC compiler matching the
# target Python version and architecture
conda.exe update --all -y
conda.exe install nose setuptools -y
pip.exe install -r "test-requirements.txt" # -r dev-requirements.txt
ant.exe -f test\\build.xml
# Build the compiled extension and run the project tests
python.exe setup.py install
|