changeset 1822:363f5dce1a95 beta

added requires.txt file
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 04 Jan 2012 03:21:36 +0200
parents 9130fa3c6d61
children f45e83492484
files requires.txt rhodecode/__init__.py setup.py
diffstat 3 files changed, 39 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/requires.txt	Wed Jan 04 03:21:36 2012 +0200
@@ -0,0 +1,17 @@
+Pylons==1.0.0
+Beaker==1.6.2
+WebHelpers>=1.2
+formencode==1.2.4
+SQLAlchemy==0.7.3
+Mako==0.5.0
+pygments>=1.4
+mercurial>=2.0,<2.1
+whoosh<1.8
+celery>=2.2.5,<2.3
+babel
+python-dateutil>=1.5.0,<2.0.0
+dulwich>=0.8.0,<0.9.0
+vcs>=0.2.3.dev
+webob==1.0.8
+markdown==2.0.3
+docutils==0.8.1
\ No newline at end of file
--- a/rhodecode/__init__.py	Wed Jan 04 03:12:30 2012 +0200
+++ b/rhodecode/__init__.py	Wed Jan 04 03:21:36 2012 +0200
@@ -34,6 +34,27 @@
 PLATFORM_WIN = ('Windows')
 PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS')
 
+requirements = [
+    "Pylons==1.0.0",
+    "Beaker==1.6.2",
+    "WebHelpers>=1.2",
+    "formencode==1.2.4",
+    "SQLAlchemy==0.7.3",
+    "Mako==0.5.0",
+    "pygments>=1.4",
+    "mercurial>=2.0,<2.1",
+    "whoosh<1.8",
+    "celery>=2.2.5,<2.3",
+    "babel",
+    "python-dateutil>=1.5.0,<2.0.0",
+    "dulwich>=0.8.0,<0.9.0",
+    "vcs>=0.2.3.dev",
+    "webob==1.0.8",
+    "markdown==2.0.3",
+    "docutils==0.8.1",
+]
+
+
 try:
     from rhodecode.lib import get_current_revision
     _rev = get_current_revision()
--- a/setup.py	Wed Jan 04 03:12:30 2012 +0200
+++ b/setup.py	Wed Jan 04 03:21:36 2012 +0200
@@ -3,31 +3,13 @@
 from rhodecode import __platform__
 from rhodecode import __license__
 from rhodecode import PLATFORM_OTHERS
+from rhodecode import requirements
 
 py_version = sys.version_info
 
 if py_version < (2, 5):
     raise Exception('RhodeCode requires python 2.5 or later')
 
-requirements = [
-        "Pylons==1.0.0",
-        "Beaker==1.6.2",
-        "WebHelpers>=1.2",
-        "formencode==1.2.4",
-        "SQLAlchemy==0.7.3",
-        "Mako==0.5.0",
-        "pygments>=1.4",
-        "mercurial>=2.0,<2.1",
-        "whoosh<1.8",
-        "celery>=2.2.5,<2.3",
-        "babel",
-        "python-dateutil>=1.5.0,<2.0.0",
-        "dulwich>=0.8.0,<0.9.0",
-        "vcs>=0.2.3.dev",
-        "webob==1.0.8",
-        "markdown==2.0.3",
-        "docutils==0.8.1",
-    ]
 
 dependency_links = [
     "https://secure.rhodecode.org/vcs/archive/default.zip#egg=vcs-0.2.3.dev",