Author eric.araujo
Recipients alexis, eric.araujo, higery
Date 2011-06-09.13:54:17
SpamBayes Score 1.69241e-08
Marked as misclassified No
Message-id <1307627658.75.0.69122771875.issue12279@psf.upfronthosting.co.za>
In-reply-to
Content
packaging.command.cmd already has this method: it was renamed to get_reinitialized_function, to better match other method names.

> the workaround of my code is just setting the 'distinfo-dir' option
> with os.curdir value
Yes, that’s a workaround :)  Have you tested writing to build.build_lib (see my previous message)?  The test command for example runs the tests in the build dir, to test what will really get packaged, and to allow build-time 2to3 conversion.

One part of properly implementing a build_distinfo command that can be tricky is the .dist-info/RECORD file.  If you just move the code from install_distinfo, the locations in the RECORD file will not be the actual locations of the files.  Possibilities:
1) don’t generate RECORD at all → invalid PEP 376
2) generate RECORD with paths to the files in the build dir
3) other?
History
Date User Action Args
2011-06-09 13:54:18eric.araujosetrecipients: + eric.araujo, alexis, higery
2011-06-09 13:54:18eric.araujosetmessageid: <1307627658.75.0.69122771875.issue12279@psf.upfronthosting.co.za>
2011-06-09 13:54:18eric.araujolinkissue12279 messages
2011-06-09 13:54:17eric.araujocreate