[Distutils] RFC: Updating PEP 345

Tarek Ziadé ziade.tarek at gmail.com
Thu Apr 9 19:20:25 CEST 2009


Btw we also need to add some metadata that should be described in PEP
345 and added in PKG-INFO:

- maintainer and maintainer_email

see: http://bugs.python.org/issue3686


On Thu, Apr 9, 2009 at 7:05 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> Jim started a branch during Pycon, maybe you can push your work over
> there for review here ?
>
> Also, I am wondering if we shouldn't merge it with PEP 376, where we
> might want to add a REQUIRES file
> into the egg.info structure, besides the PKG-INFO file.
>
> Cheers
> Tarek
>
>
> On Thu, Apr 9, 2009 at 6:55 PM, Tres Seaver <tseaver at palladion.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I haven't heard back from Richard Jones, who is the PEP owner, but have
>> perpared to update PEP 345[1] in line with what to be the majority view
>> (at PyCon) for adding "distribution-level" dependency metadata (as
>> opposed to importable package / module dependencies) to the PKG-INFO file.
>>
>> I have backed off on the notion of overloading 'Requires:' / 'Provides:'
>> / 'Obsoletes:', following Jim's notion of deprecating them in favor of
>> new fields.  I named them 'Requires-Dist:', 'Provides-Dist:', and
>> 'Obsoletes-Dist'.
>>
>> "Stock" distutils should probably spell the arguments to
>> distutils.core.setup predictably:  'requires_dist', 'provides_dist',
>> 'obsoletes_dist'.  setuptools can treat 'install_requires' as an
>> undeprecated alias for 'requires_dist'.
>>
>>
>> [1] http://svn.python.org/view/peps/trunk/pep-0345.txt?view=markup
>>
>>
>> Tres.
>> - --
>> ===================================================================
>> Tres Seaver          +1 540-429-0999          tseaver at palladion.com
>> Palladion Software   "Excellence by Design"    http://palladion.com
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJ3iiI+gerLs4ltQ4RAtVLAKCZsXVoS9a0f0B0o8eAErsPmZP6OACePvJ7
>> 8nx3i8Z4LEOsj0SsNczDtAk=
>> =l7Kk
>> -----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/
>



-- 
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/


More information about the Distutils-SIG mailing list