Browse Source

never fall back to distutils, any sane install method uses setuptools

Ronny Pfannschmidt 10 years ago
parent
commit
922a1f6bb7
1 changed files with 2 additions and 4 deletions
  1. 2 4
      setup.py

+ 2 - 4
setup.py

@@ -16,10 +16,8 @@ if sys.version_info < min_python:
     print("Borg requires Python %d.%d or later" % min_python)
     sys.exit(1)
 
-try:
-    from setuptools import setup, Extension
-except ImportError:
-    from distutils.core import setup, Extension
+
+from setuptools import setup, Extension
 
 crypto_source = 'borg/crypto.pyx'
 chunker_source = 'borg/chunker.pyx'