[Python-Dev] Packaging in Python 2 anyone ?

Éric Araujo merwok at netwok.org
Thu Sep 15 18:23:11 CEST 2011


Le 13/09/2011 18:34, Michael Foord a écrit :
> On 13/09/2011 16:57, Éric Araujo wrote:
>> (IIRC PyPI will require us to play games to have both
>> 2.x and 3.x versions of distutils2.)
> 
> What I'm doing for unittest2.
> [...]
> 2) I have a pypi project called unittestpy3k that holds the Python 3 
> version of unittest2
> 
> Projects using unittest2 for Python 3 then have a dependency on 
> unittest2py3k - but the actual Python package name is unittest2.

That’s what I call playing games.  I think it would make more sense to
push 2.x-compatible and 3.x-compatible sdists to PyPI (with an
appropriate 'Programming Language :: Python :: 2' or '3' classifier) and
have the download tools be smart.

Regards


More information about the Python-Dev mailing list