Skip to content

Commit

Permalink
Use msgpack pip package everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Feb 27, 2018
1 parent af57083 commit bca5d8a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV HOME /root
#Install ZeroNet
RUN apk --update upgrade \
&& apk --no-cache --no-progress add musl-dev gcc python python-dev py2-pip tor \
&& pip install gevent msgpack-python \
&& pip install gevent msgpack \
&& apk del musl-dev gcc python-dev py2-pip \
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/* \
&& echo "ControlPort 9051" >> /etc/tor/torrc \
Expand Down
2 changes: 1 addition & 1 deletion README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ article](https://wiki.archlinux.org/index.php/ZeroNet) для дальнейше

* `virtualenv env`
* `source env/bin/activate`
* `pip install msgpack-python gevent`
* `pip install msgpack gevent`
* `python2 zeronet.py`
* Откройте http://127.0.0.1:43110/ в вашем браузере.

Expand Down
2 changes: 1 addition & 1 deletion README-zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

* `virtualenv env`
* `source env/bin/activate`
* `pip install msgpack-python gevent`
* `pip install msgpack gevent`
* `python2 zeronet.py`
* 在你的浏览器中打开 http://127.0.0.1:43110/

Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 msgpack --upgrade"

end
2 changes: 1 addition & 1 deletion src/Connection/ConnectionServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, ip=None, port=None, request_handler=None):
# Check msgpack version
if msgpack.version[0] == 0 and msgpack.version[1] < 4:
self.log.error(
"Error: Unsupported msgpack version: %s (<0.4.0), please run `sudo apt-get install python-pip; sudo pip install msgpack-python --upgrade`" %
"Error: Unsupported msgpack version: %s (<0.4.0), please run `sudo apt-get install python-pip; sudo pip install msgpack --upgrade`" %
str(msgpack.version)
)
sys.exit(0)
Expand Down

0 comments on commit bca5d8a

Please sign in to comment.