Update pithos-backend setup.py
authorKostas Papadimitriou <kpap@grnet.gr>
Tue, 17 Jul 2012 19:10:15 +0000 (22:10 +0300)
committerKostas Papadimitriou <kpap@grnet.gr>
Tue, 17 Jul 2012 19:10:15 +0000 (22:10 +0300)
- Include alembic in required packages
- Entry point for migration tool

snf-pithos-backend/setup.py

index 639fd03..9f5e2a5 100644 (file)
@@ -67,6 +67,7 @@ CLASSIFIERS = []
 INSTALL_REQUIRES = [
     'snf-common>=0.9.0rc',
     'SQLAlchemy==0.6.3',
+    'alembic>=0.3.4, <0.4',
 ]
 
 EXTRAS_REQUIRES = {
@@ -196,7 +197,8 @@ setup(
 
     entry_points = {
      'console_scripts': [
-         ],
-      },
+         'pithos-migrate = pithos.backends.migrate:main'
+     ],
+    },
 )