Commit b6aa6ce7 authored by Denis Bilenko's avatar Denis Bilenko

setup.py: environment settings were not parsed correctly (issue #145, thanks to Pentie)

parent 2d933d78
......@@ -38,8 +38,9 @@ def get_config_value(key, defkey, path):
value = parse_environ(key)
if value is None:
value = parse_environ(defkey)
if value is None:
return os.path.exists(path)
if value is not None:
return value
return os.path.exists(path)
LIBEV_EMBED = get_config_value('LIBEV_EMBED', 'EMBED', 'libev')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment