Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 550 Bytes

Packaging.md

File metadata and controls

17 lines (13 loc) · 550 Bytes

Preparation

python3 -m pip install --user --upgrade setuptools wheel
python3 -m pip install --user --upgrade twine

Distribution

  1. Build: python3 setup.py sdist bdist_wheel
  2. Distribute: * twine upload dist/*
    • Preview * twine upload --repository-url https://test.pypi.org/legacy/ dist/*
    • Preview
  3. Distribute github backup: 1. git tag 1.2.3 -m "tag for PyPI" 2. git push --tags remotename branchname