File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 55if sys .version_info < (2 , 6 ):
66 raise SystemExit ("""matplotlib and the basemap toolkit require Python 2.6 or later.""" )
77
8- from distutils .dist import Distribution
9- from distutils .util import convert_path
10- from distutils import ccompiler , sysconfig
8+ from setuptools .dist import Distribution
119
1210# Do not require numpy for just querying the package
1311# Taken from the netcdf-python setup file (which took it from h5py setup file).
1412inc_dirs = []
1513if any ('--' + opt in sys .argv for opt in Distribution .display_option_names +
1614 ['help-commands' , 'help' ]) or sys .argv [1 ] == 'egg_info' :
17- from distutils . core import setup , Extension
15+ from setuptools import setup , Extension
1816else :
1917 import numpy
2018 # Use numpy versions if they are available.
You can’t perform that action at this time.
0 commit comments