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.
P.S. It's pronounced "Pie-P-Eye"
license
). Link to which license you should use: /wiki/spaces/OPEN/pages/13959332install_requires
)author
)author_email
)Install twine, build a kit, and upload it:
pip install twine python setup.py sdist bdist_wheel twine upload -u edX -p Q6GQT_THE_PASSWORD_6H8DF dist/* |
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.
|