From 3e4f4f8444fc8ee7f226e1c8d36f20aa3da13d11 Mon Sep 17 00:00:00 2001 From: Jakub Date: Tue, 17 Jul 2018 13:53:19 +0200 Subject: [PATCH] FIX: use os.path.join in setup.py and guide users to install libuv1-dev in documentation --- doc/source/install.rst | 2 +- python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/install.rst b/doc/source/install.rst index c03662e..b5c3133 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -29,7 +29,7 @@ with HyperLoom) In **Debian** based distributions, dependencies can be installed by the following commands: :: - apt install libuv-dev libprotobuf-dev + apt install libuv1-dev libprotobuf-dev pip install cloudpickle .. Note:: diff --git a/python/setup.py b/python/setup.py index 2ea8973..6a97271 100644 --- a/python/setup.py +++ b/python/setup.py @@ -8,7 +8,7 @@ def read_version(): - with open(os.path.dirname(__file__) + "../version") as f: + with open(os.path.join(os.path.dirname(__file__), "..", "version")) as f: return f.readline().rstrip()