Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 1003 Bytes

build_package.md

File metadata and controls

43 lines (23 loc) · 1003 Bytes

Developers note on package building

Sources cleanup

python setup.py clean --all

Build step

As a first step always do:

python setup.py build

Build distribution packages

Source distribution:

python setup.py sdist

Wheel distribution (platform specific)

python setup.py bdist_wheel

Windows installer (GUI)

python setup.py bdist_wininst

Upload to PyPI

Once .pypirc is configured, run:

twine upload dist/fretbursts-X.X.zip -ppassword

Zenodo

To disable/enable the DOI creation for a release, login on Zenodo and enable/disable the repository in the GitHub section.

References