[Distutils] [Python-Dev] distlib updated with resources API

Vinay Sajip vinay_sajip at yahoo.co.uk
Mon Oct 1 18:06:11 CEST 2012


David Cournapeau <cournape <at> gmail.com> writes:

> The code that produces yaml files. The point is precisely that it
> would be easy for me to consume this and produce the internal package
> representation in bento, which would then allow to configure, build
> and install packages using the bento format.

Well, it's not pretty, but here's a Gist of the method which produces YAML
metadata from what's passed to setup():

https://gist.github.com/3812561

> I am curious: do you attempt to parse the setup.py to get those
> environment markers ? I personally gave up on this and just run the
> setup.py to get whatever values are available in that precise

Lord, no, life's too short :-)

Regards,

Vinay Sajip



More information about the Distutils-SIG mailing list