[Python-modules-commits] r20138 - in packages/flufl.enum/trunk/debian (3 files)

warsaw-guest at users.alioth.debian.org warsaw-guest at users.alioth.debian.org
Thu Jan 26 22:14:54 UTC 2012


    Date: Thursday, January 26, 2012 @ 22:14:52
  Author: warsaw-guest
Revision: 20138

Patch setup.py to not call distribute_setup.use_setuptools().  It's
unnecessary in Debian and could lead to downloading distribute from
PyPI during the build process.

Added:
  packages/flufl.enum/trunk/debian/patches/
  packages/flufl.enum/trunk/debian/patches/series
  packages/flufl.enum/trunk/debian/patches/setup.patch

Added: packages/flufl.enum/trunk/debian/patches/series
===================================================================
--- packages/flufl.enum/trunk/debian/patches/series	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/patches/series	2012-01-26 22:14:52 UTC (rev 20138)
@@ -0,0 +1 @@
+setup.patch

Added: packages/flufl.enum/trunk/debian/patches/setup.patch
===================================================================
--- packages/flufl.enum/trunk/debian/patches/setup.patch	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/patches/setup.patch	2012-01-26 22:14:52 UTC (rev 20138)
@@ -0,0 +1,20 @@
+Description: Comment out distribute_setup since this could lead to the
+ downloading of distribute from PyPI.
+Author: Barry Warsaw <barry at python.org>
+Forwarded: not-needed
+
+=== modified file 'setup.py'
+--- a/setup.py	2012-01-19 15:52:02 +0000
++++ b/setup.py	2012-01-26 21:11:17 +0000
+@@ -15,8 +15,8 @@
+ # You should have received a copy of the GNU Lesser General Public License
+ # along with flufl.enum.  If not, see <http://www.gnu.org/licenses/>.
+ 
+-import distribute_setup
+-distribute_setup.use_setuptools()
++## import distribute_setup
++## distribute_setup.use_setuptools()
+ 
+ from setup_helpers import (
+     description, get_version, long_description, require_python)
+




More information about the Python-modules-commits mailing list