We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e852293 commit 7e068a4Copy full SHA for 7e068a4
setup.py
@@ -5,16 +5,14 @@
5
if sys.version_info < (2, 6):
6
raise SystemExit("""matplotlib and the basemap toolkit require Python 2.6 or later.""")
7
8
-from distutils.dist import Distribution
9
-from distutils.util import convert_path
10
-from distutils import ccompiler, sysconfig
+from setuptools.dist import Distribution
11
12
# Do not require numpy for just querying the package
13
# Taken from the netcdf-python setup file (which took it from h5py setup file).
14
inc_dirs = []
15
if any('--' + opt in sys.argv for opt in Distribution.display_option_names +
16
['help-commands', 'help']) or sys.argv[1] == 'egg_info':
17
- from distutils.core import setup, Extension
+ from setuptools import setup, Extension
18
else:
19
import numpy
20
# Use numpy versions if they are available.
0 commit comments