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

This commit is contained in:
Ronny Pfannschmidt 2015-07-12 15:07:24 +02:00
parent 45e89add52
commit 922a1f6bb7
1 changed files with 2 additions and 4 deletions

View File

@ -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'