[Lxml-checkins] r38834 - lxml/trunk
scoder at codespeak.net
scoder at codespeak.net
Wed Feb 14 15:17:02 CET 2007
Author: scoder
Date: Wed Feb 14 15:16:57 2007
New Revision: 38834
Modified:
lxml/trunk/setupinfo.py
Log:
env_map removed (by Sidnei)
Modified: lxml/trunk/setupinfo.py
==============================================================================
--- lxml/trunk/setupinfo.py (original)
+++ lxml/trunk/setupinfo.py Wed Feb 14 15:16:57 2007
@@ -13,13 +13,8 @@
]
-env_map = {'win32':{'INCLUDE': 'INCLUDE',
- 'LIBRARY': 'LIB',
- 'CFLAGS' : 'CFLAGS'},
- }.get(sys.platform, {})
-
def env_var(name):
- value = os.getenv(env_map.get(name), '')
+ value = os.getenv(name, '')
return value.split(os.pathsep)
def ext_modules(static_include_dirs, static_library_dirs, static_cflags):
More information about the lxml-checkins
mailing list