[twill] Small backward compatibility patch to setup.py

William K. Volkman wkvsf at users.sourceforge.net
Sat Mar 25 13:09:03 PST 2006


I end up making this change each time I get a new version of Twill,
perhaps it slows down others:

--- setup.py.orig       2006-03-25 02:05:04.000000000 -0700
+++ setup.py    2006-03-25 14:05:10.000000000 -0700
@@ -1,6 +1,9 @@
 #!/usr/bin/env python

-from setuptools import setup
+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup

 #### twill info.






More information about the twill mailing list