[Distutils] Metadata-Version in PKG-INFO

Tarek Ziadé ziade.tarek at gmail.com
Thu Apr 16 12:47:33 CEST 2009


On Wed, Apr 15, 2009 at 1:03 PM, Carlos Tejo Alonso
<carlos.tejo at fundacionctic.org> wrote:
> Hello,

Hello Carlos,

> - How can be configured the version of the metadata (AFAIK, rigth it is
> always "Metadata-Version: 1.0")? I would like to use version 1.1 (PEP
> 314. status: final) [2] or version 1.2 (PEP 345. status: draft) [3]

If you use the fields mentioned in 1.1, Distutils will automatically
set the metadata version
in the PKG-INFO for you. That said, we are currently re-thinking this
part (see the archive
in this mailing list about PEP 345)


> - How should be written the "platform" parameter?

What do you need to define ? Most of the time, people use the trove classifiers.

Take a look at the Trove classifiers, to see if your platform is not
listed there. (under Operating System :: )

http://pypi.python.org/pypi?%3Aaction=list_classifiers


regards
Tarek


>
> Regards,
>
> -------------------------------------
> Carlos Tejo Alonso
> Research & Development Department
> CTIC Foundation [Asturias, Spain]
> www.fundacionctic.org
> -------------------------------------
>
> [1] http://rest-in-py.sourceforge.net/
> [2] http://www.python.org/dev/peps/pep-0314/
> [3] http://www.python.org/dev/peps/pep-0345/
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Distutils-SIG mailing list