]> git.pld-linux.org Git - packages/python-SQLObject.git/blob - python-SQLObject-disable-setuptools.patch
- updated to 0.7.1-r1643 (bugfix branch for 0.7 - required by TurboGears)
[packages/python-SQLObject.git] / python-SQLObject-disable-setuptools.patch
1 diff -Naur SQLObject-0.7.0.orig/scripts/sqlobject-admin SQLObject-0.7.0/scripts/sqlobject-admin
2 --- SQLObject-0.7.0.orig/scripts/sqlobject-admin        2005-10-02 00:59:35.000000000 +0200
3 +++ SQLObject-0.7.0/scripts/sqlobject-admin     2005-10-23 23:02:38.000000000 +0200
4 @@ -3,13 +3,6 @@
5  import os
6  
7  try:
8 -    import pkg_resources
9 -    pkg_resources.require('SQLObject>0.6.1')
10 -except (ImportError, pkg_resources.DistributionNotFound):
11 -    # Oh well, we tried...
12 -    pass
13 -
14 -try:
15      import sqlobject.manager
16  except ImportError:
17      try:
18 diff -Naur SQLObject-0.7.0.orig/setup.py SQLObject-0.7.0/setup.py
19 --- SQLObject-0.7.0.orig/setup.py       2005-10-02 00:59:54.000000000 +0200
20 +++ SQLObject-0.7.0/setup.py    2005-10-23 23:03:40.000000000 +0200
21 @@ -1,11 +1,4 @@
22 -# ez_setup doesn't work with Python 2.2, so we use distutils
23 -# in that case:
24 -try:
25 -    from ez_setup import use_setuptools
26 -    use_setuptools()
27 -    from setuptools import setup
28 -except ImportError:
29 -    from distutils.core import setup
30 +from distutils.core import setup
31  
32  subpackages = ['firebird', 'inheritance', 'mysql', 'postgres',
33                 'sqlite', 'sybase', 'maxdb', 'util', 'manager']
This page took 0.049569 seconds and 3 git commands to generate.