mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
23 lines
752 B
Diff
23 lines
752 B
Diff
|
diff -Naur simplejson-2.0.9.orig/setup.py simplejson-2.0.9/setup.py
|
||
|
--- simplejson-2.0.9.orig/setup.py 2009-02-18 23:39:19.000000000 +0000
|
||
|
+++ simplejson-2.0.9/setup.py 2009-04-13 04:34:39.000000000 +0000
|
||
|
@@ -1,17 +1,7 @@
|
||
|
#!/usr/bin/env python
|
||
|
|
||
|
-from ez_setup import use_setuptools
|
||
|
+import 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
|