Entirely ditch distutils for setuptools
(it wasn’t working anyways, except for building the poopt module)
This commit is contained in:
parent
61f28d7ffe
commit
556fd35cf5
1 changed files with 3 additions and 6 deletions
9
setup.py
9
setup.py
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue