Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cdec6c commit fcaa2fbCopy full SHA for fcaa2fb
1 file changed
setup.py
@@ -58,12 +58,15 @@
58
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
59
60
try:
61
- from setuptools.command import bdist_egg
62
- #from setuptools import setup # use setuptools if possible
+ # check if we have a reasonably recent copy of setuptools
+ from setuptools.command import bdist_egg
63
has_setuptools = True
64
except ImportError:
65
from distutils.core import setup
66
has_setuptools = False
67
+
68
+if has_setuptools:
69
+ from setuptools import setup
70
71
import sys,os
72
import glob
0 commit comments