cd /PATH/TO/YOUR_PACKAGE python setup.py sdist upload -r privatepypi
1 2 3 4 5 6 7 8 9 10 11 12 13
Options for'sdist'command: --formats formats forsource distribution (comma-separated list) --keep-temp (-k) keep the distribution tree around after creating archive file(s) --dist-dir (-d) directory to put the source distribution archive(s) in [default: dist] --help-formats list available distribution formats
Options for'upload'command: --repository (-r) url of repository [default: http://pypi.python.org/pypi] --show-response display full response text from server --sign (-s) sign files to upload using gpg --identity (-i) GPG identity used to sign files