trainman419 / python-cec

Other
170 stars 42 forks source link

Add python-cec to pip repo #7

Closed mew1033 closed 9 years ago

mew1033 commented 9 years ago

Any chance on getting this added to the Python Package Index? It looks like the only version on there is pretty old.

trainman419 commented 9 years ago

I gave this a try, but I'm not the owner of the current version of cec on PyPI, so I'm not allowed to upload a new version. Do you know how I can claim ownership of my project on PyPI?

kingosticks commented 9 years ago

Having done this myself, I believe you just email them and explain. I think it's in the faq somewhere. On 7 Nov 2014 17:10, "Austin" notifications@github.com wrote:

I gave this a try, but I'm not the owner of the current version of cec on PyPI, so I'm not allowed to upload a new version. Do you know how I can claim ownership of my project on PyPI?

— Reply to this email directly or view it on GitHub https://github.com/trainman419/python-cec/issues/7#issuecomment-62177051 .

mew1033 commented 9 years ago

Looks like the easiest thing to do would be to submit a support request here: http://sourceforge.net/p/pypi/support-requests/ The moderators look pretty active, and although the policies on transferring ownership are a little onerous, you are definitely the owner of this project. You shouldn't have too much trouble getting it switched over to you. Any chance you would be willing to do that? Thanks!

In the meantime, is there a way to compile this and host it on another server (I'd be willing to host it if needed) so that I (and others) can do pip install <url>. I'm trying to remove the dependency on python-dev and build-essential for my project. :-)

trainman419 commented 9 years ago

Filed: https://sourceforge.net/p/pypi/support-requests/434/

Adding this to PyPI won't remove the need to have python-dev and build-essential installed. PyPI supports distributing binary packages for Windows and OSX, but doesn't support distributing binaries for Linux.

If you want to make binary versions of python packages that can be distributed, you may want to look into the various bdist builds that can be done with setup.py.

mew1033 commented 9 years ago

Sounds good, I'll see if I can figure it out over the next few days. Thanks! If I do end up figuring it out, would you be interested in uploading it as a GitHub Release?

trainman419 commented 9 years ago

I'm not really interested in making bdist binary releases, for the same reasons that PyPI doesn't make binary releases: there are too many different versions of linux to try to support them.

Binary releases for a particular distribution and version of Linux should be done through that distribution's package manager. For Ubuntu, that would mean setting up a PPA and packaging this as a deb. It's something I can think about in the future, but it's beyond the scope of this ticket.

mew1033 commented 9 years ago

Makes sense. I was working on getting a pre-built version running on the RPi without having to compile it. If I can figure it out, I'll see about adding it the raspbian repos. Thanks!

trainman419 commented 9 years ago

Done; cec is now available on pypi and installable through pip.

https://pypi.python.org/pypi/cec

mew1033 commented 9 years ago

Awesome! Thanks!