mailr17884 - /trunk/setup.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 17, 2012 - 11:01:
Author: bugman
Date: Wed Oct 17 11:01:23 2012
New Revision: 17884

URL: http://svn.gna.org/viewcvs/relax?rev=17884&view=rev
Log:
The setup.py application building script now complains if the Python 
setuptools are not installed.


Modified:
    trunk/setup.py

Modified: trunk/setup.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/setup.py?rev=17884&r1=17883&r2=17884&view=diff
==============================================================================
--- trunk/setup.py (original)
+++ trunk/setup.py Wed Oct 17 11:01:23 2012
@@ -38,7 +38,11 @@
 from os import getcwd, listdir, sep, walk
 from os.path import relpath, sep
 from re import search
-from setuptools import setup
+try:
+    from setuptools import setup
+except ImportError:
+    print("ImportError:  To run setup.py, please installed the Python 
setuptools (see http://pypi.python.org/pypi/setuptools)")
+    setup = None
 import sys
 
 # relax module imports.




Related Messages


Powered by MHonArc, Updated Wed Oct 17 11:40:01 2012