This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients eric.araujo, jkloth, josip, l0nwlf, meatballhat, schmir, tarek, titus, zubin71
Date 2010-06-22.14:31:05
SpamBayes Score 0.010003479
Marked as misclassified No
Message-id <1277217067.49.0.738458446193.issue8254@psf.upfronthosting.co.za>
In-reply-to
Content
I have a working configure command at http://bitbucket.org/Merwok/distutils2-configure which works. (Read my short reports on https://wokslog.wordpress.com/ for more details.) It’s not completely finished, though:

1) I import build and install to get their user_options, to avoid duplicating these lines. Is that bad?

2) Test coverage is not exhaustive. This will be done incrementally.

3) I tried directly using Distribution and configure objects in the tests, but couldn’t get them to work; I temporarily settled for running Python (sys.executable) in a subprocess. I’m looking for help to change that.

4) As it is now, the configure command just records options without checking for conflicts (e.g. using both –prefix and –user for install). While not in the original description of the task, I think that it should be added. Prior art like 4Suite’s config command or a prototype for configure done by Tarek that I discovered only today support this idea. Is that okay? I’ll have to avoid code duplication between configure, build and install.
History
Date User Action Args
2010-06-22 14:31:07eric.araujosetrecipients: + eric.araujo, titus, schmir, tarek, jkloth, meatballhat, zubin71, l0nwlf, josip
2010-06-22 14:31:07eric.araujosetmessageid: <1277217067.49.0.738458446193.issue8254@psf.upfronthosting.co.za>
2010-06-22 14:31:05eric.araujolinkissue8254 messages
2010-06-22 14:31:05eric.araujocreate