We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca4344 commit 5d4cf4aCopy full SHA for 5d4cf4a
1 file changed
setup.py
@@ -37,6 +37,10 @@
37
from setuptools.command.build_ext import build_ext
38
39
def get_python_include():
40
+ temp = os.getenv('PYTHON_INCLUDE_DIR')
41
+ if temp:
42
+ return temp
43
+
44
path = sysconfig.get_paths()['include']
45
if exists(path):
46
return path
0 commit comments