Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 734 Bytes

COMPILATION.md

File metadata and controls

42 lines (28 loc) · 734 Bytes

Compilation details

Building

To create a wheel (whl), run

pipx run cibuildwheel --only cp310-manylinux_x86_64

To install the whl file

pip3 install wheelhouse/pyqint-0.17.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

and to locally test

pytest-3 tests/*.py

For skipping unit testing when compiling with cibuildwheel, run

CIBW_TEST_SKIP="cp310-manylinux_x86_64" pipx run cibuildwheel --only cp310-manylinux_x86_64

Uploading to PyPi

This will place wheels in the dist folder. To upload these wheels to PyPi, make sure you have twine installed using

pip install twine

To upload, run

python -m twine upload wheelhouse/*