summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-08-18 23:23:07 +0300
committerYuval Adam <yuval@y3xz.com>2015-08-18 23:30:01 +0300
commit20b279ca2577f805d2cc2ec4109bda62c6281200 (patch)
treeefe2ceaf359359ce1b7f351b8dec3038781bd5d7
parentb17162d719ef8941fc689242bbc5a5190f20919c (diff)
Add proper requirements.txtreqs
-rw-r--r--README.md20
-rw-r--r--requirements.txt8
2 files changed, 11 insertions, 17 deletions
diff --git a/README.md b/README.md
index 6bf36da0..b5f47274 100644
--- a/README.md
+++ b/README.md
@@ -15,15 +15,9 @@ Database:
- Neo4J DB server >= 2.1.5 - http://neo4j.com/download/
Server:
-- Flask - http://flask.pocoo.org/
-- Apache Ant >= 1.9.0
- Python 2.7
-- python-enum
-- python-gevent
-- python-gevent-websocket
-- python-six
-- python-socketio
-- python-futures >= 2.2.0
+- Apache Ant >= 1.9.0
+- Python dependencies as described in `requirements.txt`
Client
All of the following are already bundled but noted here for reference:
@@ -41,17 +35,10 @@ Build dependencies:
- ant
- make
-For rz-backup:
-- python-click >= 3.3 (not tested with anything prior)
-
# Installation
## Apt based systems: Debian / Ubuntu
<code># apt-get install \
ant \
-python-flask \
-python-socketio \
-python-gevent \
-python-six \
python-pip \
ruby-sass
</code>
@@ -59,8 +46,7 @@ ruby-sass
## Generic
use pip to install all requirements
- $ pip install flask
- $ pip install gevent-socketio
+ $ pip install -r requirements.txt
Use npm for javascript (client) requirements, currently for development (testing) only, all other external dependencies are part of the repository:
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 00000000..a85525cf
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,8 @@
+click==5.1
+enum==0.4.4
+futures==3.0.3
+gevent==1.0.2
+gevent-socketio==0.3.6
+gevent-websocket==0.9.5
+greenlet==0.4.7
+wsgiref==0.1.2