python-opensubtitles icon indicating copy to clipboard operation
python-opensubtitles copied to clipboard

Update pip package

Open blacklight opened this issue 5 years ago • 2 comments

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?

blacklight avatar Jun 24 '19 16:06 blacklight

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.

agonzalezro avatar Jul 14 '19 19:07 agonzalezro

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.

blacklight avatar Jul 15 '19 08:07 blacklight