changeset 565:ad2e97c6f17f

small fix for setup
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 09 Oct 2010 17:53:15 +0200
parents ba7e24cd4786
children 7fcc539e20b1
files setup.py
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sat Oct 09 16:05:14 2010 +0200
+++ b/setup.py	Sat Oct 09 17:53:15 2010 +0200
@@ -5,14 +5,14 @@
 requirements = [
         "Pylons>=1.0.0",
         "SQLAlchemy>=0.6",
-        "babel",
         "Mako>=0.3.2",
-        "vcs>=0.1.7",
+        "vcs>=0.1.8",
         "pygments>=1.3.0",
         "mercurial>=1.6",
         "whoosh==1.0.0",
+        "celery>=2.0.0",
         "py-bcrypt",
-        "celery",
+        "babel",
     ]
 
 if sys.version_info < (2, 6):
@@ -26,6 +26,7 @@
 #additional files that goes into package itself
 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
 
+description = 'Mercurial repository serving and browsing app'
 #long description
 try:
     readme_file = 'README.rst'
@@ -33,7 +34,7 @@
 except IOError, err:
     sys.stderr.write("[ERROR] Cannot find file specified as "
         "long_description (%s)\n" % readme_file)
-    sys.exit(1)
+    long_description = description
 
 
 try:
@@ -48,7 +49,7 @@
 setup(
     name='RhodeCode',
     version=get_version(),
-    description='Mercurial repository serving and browsing app',
+    description=description,
     long_description=long_description,
     keywords='mercurial web hgwebdir replacement serving hgweb rhodecode',
     license='BSD',