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 ronaldoussoren
Recipients barry, ezio.melotti, loewis, ned.deily, ronaldoussoren, tarek, vstinner
Date 2010-03-11.06:53:51
SpamBayes Score 3.2158533e-07
Marked as misclassified No
Message-id <1268290434.04.0.32639680614.issue8107@psf.upfronthosting.co.za>
In-reply-to
Content
IMHO stuffing xxmodule.c inside the distutils test tree (see msg100815) is the right solution because the python source tree might not be present during testing (such as when the user does a binary install and then runs the unittests to check if everything works).

Tarek: sysconfig.get_config_var('srcdir') returns the value of 'srcdir' in  'Makefile' and that value is only valid during the build of Python. It is the variable that is used in Python's makefiles to refer to files in the source tree and is needed when you run configure from a directory that is not the root of the source tree.
History
Date User Action Args
2010-03-11 06:53:54ronaldoussorensetrecipients: + ronaldoussoren, loewis, barry, vstinner, tarek, ned.deily, ezio.melotti
2010-03-11 06:53:54ronaldoussorensetmessageid: <1268290434.04.0.32639680614.issue8107@psf.upfronthosting.co.za>
2010-03-11 06:53:52ronaldoussorenlinkissue8107 messages
2010-03-11 06:53:51ronaldoussorencreate