We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c10eb commit fcbb358Copy full SHA for fcbb358
python/setup.py.in
@@ -1,7 +1,10 @@
1
#!/usr/bin/env python
2
3
import glob, os, sys
4
-from distutils.core import setup, Extension
+try:
5
+ from setuptools import setup, Extension
6
+except ImportError:
7
+ from distutils.core import setup, Extension
8
9
dnet_srcs = [ '@srcdir@/dnet.c' ]
10
dnet_incdirs = [ '@top_srcdir@/include' ]
0 commit comments