Update requirements.txt, use it in various install pathways

This commit is contained in:
str4d 2016-08-01 18:00:09 +12:00
parent d5a43c4dec
commit 80445d391b
4 changed files with 4 additions and 3 deletions

View file

@ -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/*

View file

@ -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

2
Vagrantfile vendored
View file

@ -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

View file

@ -1,2 +1,3 @@
gevent>=1.1.0
i2p.socket>=0.3.1
msgpack-python>=0.4.4