##// END OF EJS Templates
setup: fall back to setuptools setup if distutils isn't available...
Mads Kiilerich -
r51626:b1ac5560 stable
parent child Browse files
Show More
@@ -112,7 +112,10 b" issetuptools = os.name == 'nt' or 'FORCE"
112 if issetuptools:
112 if issetuptools:
113 from setuptools import setup
113 from setuptools import setup
114 else:
114 else:
115 from distutils.core import setup
115 try:
116 from distutils.core import setup
117 except ModuleNotFoundError:
118 from setuptools import setup
116 from distutils.ccompiler import new_compiler
119 from distutils.ccompiler import new_compiler
117 from distutils.core import Command, Extension
120 from distutils.core import Command, Extension
118 from distutils.dist import Distribution
121 from distutils.dist import Distribution
General Comments 0
You need to be logged in to leave comments. Login now