diff --git a/docker/README.md b/docker/README.md index 8a1996e..65d4e8d 100644 --- a/docker/README.md +++ b/docker/README.md @@ -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` diff --git a/python/install_pytrexio.sh b/python/install_pytrexio.sh index 1b7c314..c7402cb 100755 --- a/python/install_pytrexio.sh +++ b/python/install_pytrexio.sh @@ -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