Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 679 Bytes

note_for_dev.md

File metadata and controls

32 lines (25 loc) · 679 Bytes

Note for developpers

To create a new release

See the dedicated build script.

Create a dedicated python environment:

python -m venv .pydevenv && source ./.pydevenv/bin/activate

Install and run cibuildwheel (only for Linux, requirement: docker):

pip install -U cibuildwheel
export CIBW_BEFORE_ALL_LINUX="yum install -y openblas-devel lapack-devel"
python -m cibuildwheel --output-dir wheelhouse --platform linux --arch auto64

Build source:

pip install -U setuptools
python setup.py build sdist

Upload to PyPI

Install and run twine:

pip install twine
cp wheelhouse/* dist/
twine upload dist/*