[Python-modules-commits] [sqlobject] 14/20: Remove the unnecessary setuptools requirement.

Neil Muller drnlmza-guest at moszumanska.debian.org
Wed May 11 09:48:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

drnlmza-guest pushed a commit to branch master
in repository sqlobject.

commit 4cbef15176c7efab5d007461d2626e44b089450f
Author: Bernd Zeimetz <bzed at debian.org>
Date:   Thu Oct 8 14:08:54 2015 -0700

    Remove the unnecessary setuptools requirement.
    
    Last-Update: 2014-04-13
    
    Patch-Name: get_rid_of_setuptools
---
 setup.py | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/setup.py b/setup.py
index 75b7e07..e8883c6 100755
--- a/setup.py
+++ b/setup.py
@@ -3,14 +3,8 @@
 from imp import load_source
 from os.path import abspath, dirname, isfile, join
 
-try:
-    from ez_setup import use_setuptools
-    use_setuptools()
-    from setuptools import setup
-    is_setuptools = True
-except ImportError:
-    from distutils.core import setup
-    is_setuptools = False
+from distutils.core import setup
+is_setuptools = False
 
 versionpath = join(abspath(dirname(__file__)), "sqlobject", "__version__.py")
 load_source("sqlobject_version", versionpath)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sqlobject.git



More information about the Python-modules-commits mailing list