Skip to content

PyPI push memo

haruna edited this page Jul 13, 2020 · 3 revisions
# commit all not committed changes, then
# change version='x.x.x' into new one in setup.py
# V=9.9.9;sed -i -r "s/(version=').*'/\1${V}'/" setup.py
sudo rm -rf build dist wbsv.egg-info
python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository pypi dist/*
Clone this wiki locally