-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip-installable #112
Comments
@sigvaldm Any guides on how to do this? |
As I often find is the case with software in the Python-ecosystem, documentation is fragmented, irrelevant and/or outdated, but I'll give a few pointers, and hopefully you can glue it together. Since you already have a There's some information on how to do it manually here. Having Travis CI auto-deploy your package to PyPI is convenient and I recommend it. Take care not to expose your PyPI password in plain-text in the
If I remember correctly, the version number on PyPI is taken from your setup.py file. You can see that I only deploy tagged commits, and only when testing Python 3.7-dev on Travis CI. Otherwise it would lead to a conflict, since I see you have not tagged any versions yet. I recommend the Semantic Versioning convention. When you feel you are ready to release a new version to PyPI, you first push the commit you think is ready for deployment and have Travis CI test it for you. If it passes, you add a version tag and push that too, for instance:
Hope that's helpful. |
It is probably also possible to do this using Semaphore CI, but I have no experience with that. Choose whichever you like best. |
Cool library!
It would be nice if it were registered at PyPI so that it could be installed using pip. This would it more accessible, and perhaps also more popular.
The text was updated successfully, but these errors were encountered: