File: disable_ez_setup.patch

package info (click to toggle)
simplejson 1.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 752 kB
  • ctags: 1,480
  • sloc: python: 1,549; ansic: 582; makefile: 52; sh: 2
file content (32 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- simplejson-1.7.4.orig/setup.py.orig	2008-02-24 20:39:05.000000000 +0100
+++ simplejson-1.7.4/setup.py	2008-02-24 20:39:42.000000000 +0100
@@ -1,17 +1,17 @@
 #!/usr/bin/env python
 
-from ez_setup import use_setuptools
-import sys
-if 'cygwin' in sys.platform.lower():
-   min_version='0.6c6'
-else:
-   min_version='0.6a9'
-try:
-    use_setuptools(min_version=min_version)
-except TypeError:
-    # If a non-local ez_setup is already imported, it won't be able to
-    # use the min_version kwarg and will bail with TypeError
-    use_setuptools()
+#from ez_setup import use_setuptools
+#import sys
+#if 'cygwin' in sys.platform.lower():
+#   min_version='0.6c6'
+#else:
+#   min_version='0.6a9'
+#try:
+#    use_setuptools(min_version=min_version)
+#except TypeError:
+#    # If a non-local ez_setup is already imported, it won't be able to
+#    # use the min_version kwarg and will bail with TypeError
+#    use_setuptools()
 
 from setuptools import setup, find_packages, Extension, Feature
 from distutils.command.build_ext import build_ext