equal
deleted
inserted
replaced
110 # we don't have issues. |
110 # we don't have issues. |
111 issetuptools = os.name == 'nt' or 'FORCE_SETUPTOOLS' in os.environ |
111 issetuptools = os.name == 'nt' or 'FORCE_SETUPTOOLS' in os.environ |
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 |
119 from distutils.command.build import build |
122 from distutils.command.build import build |
120 from distutils.command.build_ext import build_ext |
123 from distutils.command.build_ext import build_ext |