mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-07 04:47:48 +03:00
change so INCLUDEDIR not existing in the env won't throw an error
This commit is contained in:
parent
afeb7cf8b1
commit
12dded627e
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -134,7 +134,7 @@ else:
|
|||
'/usr/include/python' + python_version,
|
||||
sysconfig.get_config_var("INCLUDEDIR")
|
||||
]
|
||||
for include in os.environ["INCLUDEDIR"].split(":"):
|
||||
for include in os.environ.get("INCLUDEDIR", "").split(":"):
|
||||
_include_dirs.append(include)
|
||||
|
||||
_library_dirs += [sysconfig.get_config_var("LIBDIR"), '/opt/local/lib']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue