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 nas
Recipients nas, ronaldoussoren, spatz
Date 2008-06-19.20:36:27
SpamBayes Score 5.77799e-05
Marked as misclassified No
Message-id <>
Looks like this has exposed some ugly code.  From

  # Figure out the location of the source code for extension modules
  # (This logic is copied in distutils.test.test_sysconfig,
  # so building in a separate directory does not break test_distutils.)

I believe the proper fix is to move some of the code from into
sysconfig so that it does more than just set "python_build" when running
inside a Python build directory.  For example, it should also add
<srcdir>/Include to the standard list of includes that distutils uses.

The attached patch fixes to use the right source file
(perhaps it should be tested on Windows).  The test still fails because
Python.h cannot be found.
Date User Action Args
2008-06-19 20:36:32nassetspambayes_score: 5.77799e-05 -> 5.77799e-05
recipients: + nas, ronaldoussoren, spatz
2008-06-19 20:36:31nassetspambayes_score: 5.77799e-05 -> 5.77799e-05
messageid: <>
2008-06-19 20:36:30naslinkissue3054 messages
2008-06-19 20:36:29nascreate