A guide to publishing a package to PyPI using Travis. You should publish packages on which your team relies to PyPI instead of installing them from GitHub.
license
)install_requires
)author
)author_email
)Install twine, build a kit, and upload it:
pip install twine python setup.py sdist twine upload -u edX -p Q6GQT_THE_PASSWORD_6H8DF dist/your-package-1.0.0.tar.gz |
Contact DevOps to get credentials for the edX PyPI account. Use the Travis CI command line client to encrypt the password:
travis encrypt --add deploy.password |
.travis.yml
is here.Find your package at https://pypi.python.org/pypi/[package-name]/[version] |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|