Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 500 Bytes

PUBLISH.md

File metadata and controls

17 lines (12 loc) · 500 Bytes

Install build and distribution dependencies: pip install build wheel twine

Build source distributions and wheel: python setup.py bdist_wheel sdist

Upload package to testpypi: python -m twine upload --repository testpypi dist/*

Test installation from testpypi: python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple sillm

Upload package to pypi: python -m twine upload dist/*

Reset test environment: pip uninstall -y -r <(pip freeze)