openbsd-ports/www/py-quixote/patches/patch-setup_py

28 lines
726 B
Plaintext

$OpenBSD: patch-setup_py,v 1.2 2009/06/03 02:13:30 wcmaier Exp $
--- setup.py.orig Fri Nov 28 22:50:56 2008
+++ setup.py Mon Jun 1 23:34:02 2009
@@ -1,9 +1,9 @@
#!/usr/bin/env python
-#try:
-# from setuptools import setup
-#except ImportError:
-# print '(WARNING: importing distutils, not setuptools!)'
-# from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ print '(WARNING: importing distutils, not setuptools!)'
+ from distutils.core import setup
# Setup script for Quixote
@@ -39,7 +39,7 @@ kw = {'name': "Quixote",
'cmdclass': {'build_py': qx_build_py},
-# 'test_suite' : 'nose.collector'
+ 'test_suite' : 'nose.collector'
}