[Distutils] PYPI and packages for Python 2.x and 3.x

Tarek Ziadé ziade.tarek at gmail.com
Tue Jun 3 19:22:43 CEST 2008


On Tue, Jun 3, 2008 at 6:48 PM, Jesus Cea <jcea at jcea.es> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Sorry if this is already answered, but I have no found any reference
> about this issue.
>
> Suppose I have a package indexed in PYPI. I have two versions: python
> 2.x and 3.x. The code has C inside, so it is distributed as a tar.gz,
> not an egg.
>
> How is setuptools/easy_install to download the right version for my
> python installation? :-??


Binary distributions have the name of the platform it was built on in the
filename.

See setuptools for instance: http://pypi.python.org/pypi/setuptools



>
>
> - --
> Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
> jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
> jabber / xmpp:jcea at jabber.org <xmpp%3Ajcea at jabber.org>         _/_/
>  _/_/          _/_/_/_/_/
> .                              _/_/  _/_/    _/_/          _/_/  _/_/
> "Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQCVAwUBSEV13Zlgi5GaxT1NAQKfgQP/YNgOiXNJbZ7A9MT3yaNwPU6bsQeHAy3F
> d+iPf3waAfTVouIsrs7l9nw8EC6vpp6353XlqaEPMwJnrBKB7sIew58z1g2ipveB
> I7vp8oIsmkKZ6gtmkpys9a1mU507TVuwrHSSrNyOlAcsVMF5203tzRvFM8CK4SWz
> 7H3RNBUuMdI=
> =sn6g
> -----END PGP SIGNATURE-----
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>



-- 
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080603/4e946975/attachment.htm>


More information about the Distutils-SIG mailing list