agonzalezro / python-opensubtitles

A python wrapper for the opensubtitles API
ISC License
153 stars 41 forks source link

Update pip package #37

Open blacklight opened 5 years ago

blacklight commented 5 years ago

The pip package is currently broken on python3 because the latest release spans back to Sep 29, 2015, while the python3 support has been introduced on Nov 8, 2015.

Is it possible to update the pip package so it can be easily imported in requirements.txt without pointing to the Github master?

agonzalezro commented 5 years ago

I have uploaded the revision 0.3dev please let me know if it works.

It would be nice to automate this a little bit, if you are using the package and you fancy helping with that it would be great! Thanks.

blacklight commented 5 years ago

Yes, the new package on pip works fine, thanks!

I believe that the standard way for releasing Python packages on pip is now through sdist/twine:

python setup.py sdist bdist_wheel
twine upload dist/project-version.tar.gz

It's possible to include that in a script after the first authentication to PyPi, and with a bit of scripting it should also be doable to push a new build upon version update using bumpversion.