1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 10:47:43 +02:00

minor update for better Python builds

This commit is contained in:
q-posev 2021-10-01 10:48:13 +02:00
parent 0cba81fc38
commit 01e4476c19
2 changed files with 7 additions and 1 deletions

View File

@ -51,6 +51,9 @@ The `docker run` command line arguments used here:
- `hdf5_1_12_on_2014_x86_64` (name of the Docker image to run)
- `/bin/bash` (which binary the container should execute)
To run the ARM-based container (e.g. with `_aarch64` suffix) on Intel/AMD processor, just add the `--platform linux/arm64` to the
`docker run` arguments.
Once the Docker container is launched and the corresponding prompt is switched to the container, run the following (example for release 0.2.0):
`cd tmp/ && ./build_manylinux_wheels.sh trexio-0.2.0.tar.gz`

View File

@ -26,7 +26,7 @@ else
fi
# Install/upgrade packages required for the installation
python3 -m pip install --upgrade setuptools wheel twine
python3 -m pip install --upgrade setuptools wheel pip
python3 -m pip install -r requirements.txt
# export NUMPY_INCLUDEDIR environment variable needed for the proper setup
@ -60,6 +60,9 @@ python3 -m pip install dist/trexio-*.whl --force-reinstall
# Uninstall pytrexio: this only works from the pytrexio root directory
#python3 -m pip uninstall trexio
# Install twine to upload things on PyPI
#python3 -m pip install --upgrade twine
# Test the current release by uploading to TestPyPI sandbox
#python3 -m twine upload --repository testpypi dist/trexio-*.tar.gz