# HG changeset patch # User Marcin Kuzminski # Date 2012-01-04 01:21:36 # Node ID 363f5dce1a95620b037876825c228b2b543c3f87 # Parent 9130fa3c6d61c2d70a9d2d1ad61bb408d26ba797 added requires.txt file diff --git a/requires.txt b/requires.txt new file mode 100644 --- /dev/null +++ b/requires.txt @@ -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 diff --git a/rhodecode/__init__.py b/rhodecode/__init__.py --- a/rhodecode/__init__.py +++ b/rhodecode/__init__.py @@ -34,6 +34,27 @@ VERSION = (1, 3, 0, 'beta') 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() diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -3,31 +3,13 @@ from rhodecode import get_version 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",