correct case for dependencies in setup.py

This commit is contained in:
iElectric 2010-08-16 12:29:22 +02:00
parent 236acfef5d
commit 8e01817b97
3 changed files with 4 additions and 3 deletions

View File

@ -12,6 +12,7 @@ from migrate.versioning.config import operations
from migrate.versioning.template import Template
from migrate.versioning.script import base
from migrate.versioning.util import import_path, load_model, with_engine
from migrate.changeset.exceptions import *
log = logging.getLogger(__name__)
@ -140,7 +141,7 @@ class PythonScript(base.BaseScript):
script_func(engine)
except TypeError:
warnings.warn("upgrade/downgrade functions must accept engine"
" parameter (since version > 0.5.4)", exceptions.MigrateDeprecationWarning)
" parameter (since version > 0.5.4)", MigrateDeprecationWarning)
raise
@property

View File

@ -14,8 +14,8 @@ from sqlalchemy.pool import StaticPool
from migrate.versioning import exceptions
from migrate.versioning.util.keyedinstance import KeyedInstance
from migrate.versioning.util.importpath import import_path
from migrate.changeset.exceptions import *
from migrate.changeset import *
log = logging.getLogger(__name__)

View File

@ -9,7 +9,7 @@ except ImportError:
use_setuptools()
from setuptools import setup, find_packages
required_deps = ['sqlalchemy >= 0.5', 'decorator', 'tempita >= 0.4']
required_deps = ['SQLAlchemy >= 0.5', 'decorator', 'Tempita >= 0.4', 'setuptools']
readme_file = open(os.path.join(os.path.dirname(os.path.abspath(__file__)),
'README'))