1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-25 00:38:58 +00:00

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

View file

@ -16,10 +16,8 @@
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'