From f55ac9edbfbfeb13e93cb101df8d38bd7bcce15a Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 27 Oct 2014 19:16:32 +0100 Subject: Mention that setuptools is kind of mandatory --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 6c70c208..efd914b0 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,13 @@ #!/usr/bin/env python3 + 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 import os -- cgit v1.2.3