[pypy-svn] r61532 - pypy/trunk/pypy/module/thread
fijal at codespeak.net
fijal at codespeak.net
Tue Feb 3 13:48:15 CET 2009
Author: fijal
Date: Tue Feb 3 13:48:13 2009
New Revision: 61532
Modified:
pypy/trunk/pypy/module/thread/ll_thread.py
Log:
I think we always include python include path anyway and this breaks
py.test -A
Modified: pypy/trunk/pypy/module/thread/ll_thread.py
==============================================================================
--- pypy/trunk/pypy/module/thread/ll_thread.py (original)
+++ pypy/trunk/pypy/module/thread/ll_thread.py Tue Feb 3 13:48:13 2009
@@ -14,8 +14,6 @@
from pypy.rlib.objectmodel import we_are_translated
from pypy.rpython.lltypesystem.lloperation import llop
from pypy.tool import autopath
-from distutils import sysconfig
-python_inc = sysconfig.get_python_inc()
class error(Exception):
pass
@@ -23,8 +21,7 @@
eci = ExternalCompilationInfo(
includes = ['src/thread.h'],
separate_module_sources = [''],
- include_dirs = [str(py.path.local(autopath.pypydir).join('translator', 'c')),
- python_inc],
+ include_dirs = [str(py.path.local(autopath.pypydir).join('translator', 'c'))],
export_symbols = ['RPyThreadGetIdent', 'RPyThreadLockInit',
'RPyThreadAcquireLock', 'RPyThreadReleaseLock',
'RPyThreadYield']
More information about the Pypy-commit
mailing list