From 922a1f6bb70550deedcd5d72f0b24aa5792e1753 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Sun, 12 Jul 2015 15:07:24 +0200 Subject: [PATCH] never fall back to distutils, any sane install method uses setuptools --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index eed03381f..edd75dc1a 100644 --- a/setup.py +++ b/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'