From 556fd35cf5c60842d2a3b2e29e3ef5c9edbe35a2 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 7 Feb 2015 22:09:05 +0100 Subject: [PATCH] Entirely ditch distutils for setuptools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (it wasn’t working anyways, except for building the poopt module) --- setup.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index b5a97fb2..97ae2a53 100755 --- a/setup.py +++ b/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