P.J. Eby p...@telecommunity.com writes:
http://docs.python.org/distutils/apiref.html#module-distutils.core -
specifically the run_setup() function. (It appears the docs do not
have link anchors for individual functions, alas.)
At 08:14 AM 9/12/2009 +1000, Ben Finney wrote:
Specifically, I want to programmatically access the metadata that is
held in the arguments to the âdistutils.setup()â call. Without,
as you say, executing any Distutils command. I am not aware of any
âdistutilsâ public functions that can
Hi All,
Do people generally source control their package's setup.cfg?
http://docs.python.org/distutils/configfile.html sort of implies it
should be editable by the person installing the package, but I've never
personally used a package where that's the case...
Assuming the distutils docs
Chris Withers ch...@simplistix.co.uk writes:
Do people generally source control their package's setup.cfg?
Yes. I prefer the distribution metadata to be declarative, for the
reasons you touch on later in your message. So where it makes sense I
store it in ‘setup.cfg’ or some other declarative
At 11:25 PM 9/9/2009 +1000, Ben Finney wrote:
That's one of the pain points of the current distutils capability:
there's no standard-library way to extract that information.
If you're talking about setup.cfg (and all the other distutils .cfg
files), all you need to do is create a Distribution