dovetail tool: bugfix for pip install 17/27017/1
authorMatthewLi <matthew.lijun@huawei.com>
Mon, 16 Jan 2017 07:54:44 +0000 (02:54 -0500)
committerMatthewLi <matthew.lijun@huawei.com>
Mon, 16 Jan 2017 07:58:57 +0000 (02:58 -0500)
JIRA: DOVETAIL-183

1)pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
2)vim added in Dockerfile, which is convinience for offline usage

Change-Id: I986dc7cd3e872cf026d2e69f7298028a6cbfe9a6
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
docker/Dockerfile
docs/dovetailtool/dovetail.tool.installation.rst

index aea1e99..6694c50 100644 (file)
@@ -10,6 +10,7 @@ RUN \
     apt-get install -y \
         python-pip \
         git \
+        vim \
         apt-transport-https \
         --no-install-recommends \
 && \
@@ -32,6 +33,6 @@ RUN \
 && \
     cd ${REPOS_DIR} \
 && \
-    pip install .
+    pip install -e .
 
 WORKDIR ${REPOS_DIR}/dovetail
index 24717fb..fa8027a 100644 (file)
@@ -63,14 +63,14 @@ to run
 ::
 
   apt-get -y install python-pip
-  pip install .
+  pip install -e .
 
 in ``centos`` and ``redhat`` environment, to run
 
 ::
 
   yum -y install python-pip
-  pip install .
+  pip install -e .
 
 in ``fedora`` environment, to run
 
@@ -78,7 +78,7 @@ in ``fedora`` environment, to run
 ::
 
   dnf -y install python-pip
-  pip install .
+  pip install -e .
 
 then the setup requirements are installed and **dovetail** commmand-line can be used,
 by using ``dovetail --help``, **dovetail** command-line details are shown.