3 ms·
Thanks for those links, they do a better job at explaining those various tools then most descriptions I've read so far. So if I understand correctly, the usual
by sysk 12y ago
Thanks for those links, they do a better job at explaining those various tools then most descriptions I've read so far.
So if I understand correctly, the usual workflow is to create a distribution for your source code using setuptools (python setup.py sdist) and then upload them to Pypi using (python setup.py upload) or using Twine (twine upload dist/*). The uploaded distributions can then be installed by third party users by using pip (pip install somedistname).
- servilio 12y agoYou are welcome, glad that they were helpful. My recommendation going forward: try the official documentation first always, it is of very high quality. * You are right on the usual workflow * I haven't used Twine so I can't comment on it Additional things you might want to look into: * Using ssh[2] to upload to PyPI * Signing distributions with OpenPGP [1] http://buildout.org http://buildout.org [2] https://pypi.python.org/pypi/pypissh https://pypi.python.org/pypi/pypissh