diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-07-15 18:21:24 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-07-15 18:21:24 +0000 |
commit | 6917ffb9bdae19a368abef5fdbd4655fc27fcdf2 (patch) | |
tree | 30e61c46eb43cc5d83dc4ae6464aa55e77a5efc5 /setup.py | |
parent | 4fe412795883a75057829f13251bf4a3038931d8 (diff) | |
download | sqlalchemy-6917ffb9bdae19a368abef5fdbd4655fc27fcdf2.tar.gz |
And thus ends support for Python 2.3.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,10 +1,14 @@ from ez_setup import use_setuptools use_setuptools() +import os +import sys +from os import path from setuptools import setup, find_packages from distutils.command.build_py import build_py as _build_py from setuptools.command.sdist import sdist as _sdist -import os -from os import path + +if sys.version_info < (2, 4): + raise Exception("SQLAlchemy requires Python 2.4 or higher.") v = open(path.join(path.dirname(__file__), 'VERSION')) VERSION = v.readline().strip() |