File: remove_pkg_resources

package info (click to toggle)
sqlobject 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,880 kB
  • ctags: 3,020
  • sloc: python: 15,679; sh: 28; makefile: 12
file content (21 lines) | stat: -rw-r--r-- 507 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
Description: We don't need pkg_resources to run the test suite during the
 build, so remove that dependency.
Author: Neil Muller <drnlmuller+debian@gmail.com>
Forwarded: not-needed
Last-Update: 2014-04-13

--- a/sqlobject/conftest.py
+++ b/sqlobject/conftest.py
@@ -11,12 +11,6 @@
 import os
 import sqlobject
 
-try:
-    import pkg_resources
-except ImportError: # Python 2.2
-    pass
-else:
-    pkg_resources.require('SQLObject')
 
 connectionShortcuts = {
     'mysql': 'mysql://test@localhost/test',