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:
parent
45e89add52
commit
922a1f6bb7
1 changed files with 2 additions and 4 deletions
6
setup.py
6
setup.py
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue