From 80445d391b1119e702a550576a40405e68b116c4 Mon Sep 17 00:00:00 2001 From: str4d Date: Mon, 1 Aug 2016 18:00:09 +1200 Subject: [PATCH] Update requirements.txt, use it in various install pathways --- Dockerfile | 2 +- README.md | 2 +- Vagrantfile | 2 +- requirements.txt | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d521d18c..ccbf8e96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ENV HOME /root RUN \ apt-get update -y; \ apt-get -y install msgpack-python python-gevent python-pip python-dev; \ - pip install msgpack-python --upgrade; \ + pip install -r requirements.txt --upgrade; \ apt-get clean -y; \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* diff --git a/README.md b/README.md index 18b573df..c4b6d5e8 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ It downloads the latest version of ZeroNet then starts it automatically. * `virtualenv env` * `source env/bin/activate` -* `pip install msgpack-python gevent` +* `pip install -r requirements.txt` * `python zeronet.py` * Open http://127.0.0.1:43110/ in your browser diff --git a/Vagrantfile b/Vagrantfile index 6c4da894..10a11c58 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -40,6 +40,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision "shell", inline: "sudo apt-get install msgpack-python python-gevent python-pip python-dev -y" config.vm.provision "shell", - inline: "sudo pip install msgpack-python --upgrade" + inline: "sudo pip install -r requirements.txt --upgrade" end diff --git a/requirements.txt b/requirements.txt index eef988d0..a27eea8d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ gevent>=1.1.0 +i2p.socket>=0.3.1 msgpack-python>=0.4.4