[Distutils] Python version in egg name

2011-02-05 Thread Matt Chaput
When I create an egg the Python version used to create the egg is encoded in the egg filename, e.g. Whoosh-1.6.0-py2.7.egg. Is this version number used to decide what egg a user gets from PyPI? I didn't think it was, but a user is seeming to indicate that he got different versions based on

Re: [Distutils] Python version in egg name

2011-02-05 Thread Glyph Lefkowitz
On Feb 2, 2011, at 2:49 PM, Matt Chaput wrote: Is there a way to set this value to py2.5 as a configuration option, other than running setup.py using the Python 2.5 executable? Or not have it be part of the egg filename at all? I'm using Python 2.7 as my default Python install but I make

[Distutils] Python version in egg name

2011-02-03 Thread Matt Chaput
When I create an egg the Python version used to create the egg is encoded in the egg filename, e.g. Whoosh-1.6.0-py2.7.egg. Is this version number used to decide what egg a user gets from PyPI? I didn't think it was, but a user is seeming to indicate that he got different versions based on

Re: [Distutils] Python version in egg name

2011-02-03 Thread Eric Smith
On 02/03/2011 10:17 AM, Matt Chaput wrote: When I create an egg the Python version used to create the egg is encoded in the egg filename, e.g. Whoosh-1.6.0-py2.7.egg. Is this version number used to decide what egg a user gets from PyPI? I didn't think it was, but a user is seeming to indicate

Re: [Distutils] Python version in egg name

2011-02-03 Thread Matt Chaput
On 03/02/2011 10:34 AM, Eric Smith wrote: I use source distributions (python setup.py sdist) and then distribute the resulting .tar.gz file. Since it's a source (not binary) distribution, it can potentially run with any version of Python. You see this a lot on PyPI, where the only thing

Re: [Distutils] Python version in egg name

2011-02-03 Thread Eric Smith
I use buildout, which uses setuptools/distribute. So for that, the answer is yes. Matt Chaput m...@whoosh.ca wrote: On 03/02/2011 10:34 AM, Eric Smith wrote: I use source distributions (python setup.py sdist) and then distribute the resulting .tar.gz file. Since it's a source (not binary)

Re: [Distutils] Python version in egg name

2011-02-03 Thread Carl Meyer
On 02/03/2011 11:24 AM, Matt Chaput wrote: Can people still use easy_install/pip to install it if it's not an egg? Yes. In fact, pip can only install from source distributions. A source .tar.gz is the most broadly-compatible distribution format available, unless your package includes compiled

Re: [Distutils] Python version in egg name

2011-02-03 Thread Matt Chaput
On 03/02/2011 11:28 AM, Carl Meyer wrote: On 02/03/2011 11:24 AM, Matt Chaput wrote: Can people still use easy_install/pip to install it if it's not an egg? Yes. In fact, pip can only install from source distributions. Interesting. So long bdist_egg! Thanks all, Matt

Re: [Distutils] Python version in egg name

2011-02-03 Thread P.J. Eby
At 10:17 AM 2/3/2011 -0500, Matt Chaput wrote: When I create an egg the Python version used to create the egg is encoded in the egg filename, e.g. Whoosh-1.6.0-py2.7.egg. Is this version number used to decide what egg a user gets from PyPI? I didn't think it was, but a user is seeming to