summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/__init__.py')
-rw-r--r--lib/sqlalchemy/__init__.py19
1 files changed, 2 insertions, 17 deletions
diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py
index 6e95fd7e1..ab12ecf4b 100644
--- a/lib/sqlalchemy/__init__.py
+++ b/lib/sqlalchemy/__init__.py
@@ -7,22 +7,7 @@
from sqlalchemy.types import *
from sqlalchemy.sql import *
from sqlalchemy.schema import *
-
from sqlalchemy.engine import create_engine
-def __figure_version():
- try:
- from pkg_resources import require
- import os
- # NOTE: this only works when the package is either installed,
- # or has an .egg-info directory present (i.e. wont work with raw SVN checkout)
- info = require('sqlalchemy')[0]
- if os.path.dirname(os.path.dirname(__file__)) == info.location:
- return info.version
- else:
- return '(not installed)'
- except:
- return '(not installed)'
-
-__version__ = __figure_version()
-
+
+__version__ = 'svn'