summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authoriElectric <unknown>2009-06-30 22:50:18 +0200
committeriElectric <unknown>2009-06-30 22:50:18 +0200
commit9cedba8b8bf04421740b50c9f00f9c4198391467 (patch)
treee0cdc3eb2d35363b8b96190855d99c7f5bcb0e3e /setup.py
downloadsqalchemy-migrate-9cedba8b8bf04421740b50c9f00f9c4198391467.tar.gz
convert svn to hg
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..d3c5295
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,45 @@
+#!/usr/bin/python
+
+import os
+
+try:
+ from setuptools import setup, find_packages
+except ImportError:
+ from ez_setup import use_setuptools
+ use_setuptools()
+ from setuptools import setup, find_packages
+
+try:
+ import buildutils
+except ImportError:
+ pass
+
+test_requirements = ['nose >= 0.10']
+required_deps = ['sqlalchemy >= 0.5', 'decorator']
+readme_file = open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README'))
+
+setup(
+ name = "sqlalchemy-migrate",
+ version = "0.5.5",
+ packages = find_packages(exclude=['test*']),
+ include_package_data = True,
+ description = "Database schema migration for SQLAlchemy",
+ long_description = readme_file.read(),
+ install_requires = required_deps,
+ tests_require = test_requirements,
+ extras_require = {
+ 'docs' : ['sphinx >= 0.5'],
+ },
+ author = "Evan Rosson",
+ author_email = "evan.rosson@gmail.com",
+ url = "http://code.google.com/p/sqlalchemy-migrate/",
+ maintainer = "Jan Dittberner",
+ maintainer_email = "jan@dittberner.info",
+ license = "MIT",
+ entry_points = """
+ [console_scripts]
+ migrate = migrate.versioning.shell:main
+ migrate-repository = migrate.versioning.migrate_repository:main
+ """,
+ test_suite = "nose.collector",
+)