Entirely ditch distutils for setuptools

(it wasn’t working anyways, except for building the poopt module)
This commit is contained in:
mathieui 2015-02-07 22:09:05 +01:00
parent 61f28d7ffe
commit 556fd35cf5
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -3,12 +3,9 @@
try:
from setuptools import setup, Extension
except ImportError:
print('Setuptools was not found.\n'
'This script will use distutils instead, which will NOT'
' be able to install a `poezio` executable.\nIf you are '
'using it to build a package or install poezio, please '
'install setuptools.\n\nYou will also see a few warnings.\n')
from distutils.core import setup, Extension
print('\nSetuptools was not found. Install setuptools for python 3.\n')
import sys
sys.exit(1)
import os