Skip to content

Commit 131c1fe

Browse files
author
Jeff Whitaker
committed
fix for distutils on python 3.3
1 parent 0f86396 commit 131c1fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def checkversion(GEOS_dir):
9090
os.path.join('lib',os.path.join('mpl_toolkits',os.path.join('basemap','data')))
9191
if sys.argv[1] not in ['sdist','clean']:
9292
cc = ccompiler.new_compiler()
93-
#sysconfig.customize_compiler(cc) # doesn't work with python 3.3
93+
sysconfig.get_config_vars()
94+
sysconfig.customize_compiler(cc)
9495
cc.set_include_dirs(['src'])
9596
objects = cc.compile(['nad2bin.c', 'src/pj_malloc.c'])
9697
execname = 'nad2bin'

0 commit comments

Comments
 (0)