1. Pypy
  2. Untitled project
  3. pypy


Maciej Fijalkowski  committed 8f59c5b

A fix good enough to try compiling pypy on top of pypy, without crashing
too early

  • Participants
  • Parent commits dc72964
  • Branches default

Comments (0)

Files changed (1)

File pypy/rpython/tool/rffi_platform.py

View file
  • Ignore whitespace
 def get_python_include_dir():
     from distutils import sysconfig
     gcv = sysconfig.get_config_vars()
-    return gcv['INCLUDEPY']
+    return gcv.get('INCLUDEPY', '.') # this is for running on top of pypy-c
 def configure_external_library(name, eci, configurations,
                                symbol=None, _cache={}):