qmasingarbe / pymiere

Python for Premiere pro
GNU General Public License v3.0
363 stars 46 forks source link

Ready for publishing on PyPi or Test PyPi! #26

Closed PFython closed 3 years ago

PFython commented 3 years ago

Hi Quentin, I hope you're as excited about this as I am but I thought it was time to get Pymiere onto PyPi so people can install it simply with pip.

I'm not an expert at creating packages but hope this Pull Request is a good start... I've tested and it seems to work nicely so far! At the moment I've only uploaded it to Test PyPi and you can see how it looks there:

https://test.pypi.org/project/pymiere

You can also install it with pip already:

pip install -i https://test.pypi.org/simple/ pymiere

Once you're happy I suggest you upload the real version as yourself to PyPI so you maintain ownership over it officially. Just follow the instructions at the end of the new setup.py file and use PyPi instead of Test PyPi.

This Pull Request should be completely separate to the other active PR I created with some suggested changes to wording and variable names. I hope you like it...?

PS You might get an error from the Test PyPI server due to recent changes in pip/dependencies and the versions of requests installed on PyPI (2.25 is latest) versus Test PI (2.5.4.1 is latest). So if someone doesn't have requests and installs it from the Test PyPI version, they will get 2.5.4.1 which is not compatible with twine which we use for uploading to PyPI!!! The problem should go away when you publish to PyPI though as they will then receive the proper version of requests (2.25) which is compatible with twine. I hope that makes sense?

qmasingarbe commented 3 years ago

Hi Peter, Thank you for taking the time to setup all of this, I'm in the process of publishing everything to pypi with some minor adjustments thanks to your help !

PFython commented 3 years ago

Exciting!