-
Notifications
You must be signed in to change notification settings - Fork 50
Distribute the packages to PyPi
James edited this page Sep 12, 2021
·
1 revision
at the directoly of janus-cloud project, enter following command
python setup.py sdist
python setup.py bdist_wheel
After that, there are two packages generated at the 'dist' sub-directory.
- janus-cloud-x.x.x.tar.gz
- janus_cloud-x.x.x-py3-none-any.whl
twine is used to submit the packages to PyPi. before uploadindg, you should install the twine from PyPi firstly:
pip install --upgrade twine
And you should have an account of PyPi.
After that, you can enter the following command at the directoly of janus-cloud project, which upload the packages of the 'dist' sub-directory to PyPi.
twine upload dist/*