mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merged revisions 77704,77752 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line taking sysconfig out of distutils ........ r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line switched the call order so this call works without suffering from issue #7774 ........
This commit is contained in:
parent
82b8398583
commit
edacea30e4
35 changed files with 1193 additions and 926 deletions
4
setup.py
4
setup.py
|
@ -5,9 +5,9 @@ __version__ = "$Revision$"
|
|||
|
||||
import sys, os, imp, re, optparse
|
||||
from glob import glob
|
||||
import sysconfig
|
||||
|
||||
from distutils import log
|
||||
from distutils import sysconfig
|
||||
from distutils import text_file
|
||||
from distutils.errors import *
|
||||
from distutils.core import Extension, setup
|
||||
|
@ -132,7 +132,7 @@ class PyBuildExt(build_ext):
|
|||
|
||||
# Python header files
|
||||
headers = [sysconfig.get_config_h_filename()]
|
||||
headers += glob(os.path.join(sysconfig.get_python_inc(), "*.h"))
|
||||
headers += glob(os.path.join(sysconfig.get_path('platinclude'), "*.h"))
|
||||
|
||||
for ext in self.extensions[:]:
|
||||
ext.sources = [ find_module_file(filename, moddirlist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue