summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-01-16 02:54:44 -0500
committerMatthewLi <matthew.lijun@huawei.com>2017-01-16 02:58:57 -0500
commit5a1687b29e7d01929bb1d3bf82c70cb7cc305bd7 (patch)
treea3ec46504e91b961441da693ce025f17332432a1
parent69845ee8f5301bdaadd3d37d23153d4423a8e92e (diff)
dovetail tool: bugfix for pip install
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>
-rw-r--r--docker/Dockerfile3
-rw-r--r--docs/dovetailtool/dovetail.tool.installation.rst6
2 files changed, 5 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index aea1e994..6694c501 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -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
diff --git a/docs/dovetailtool/dovetail.tool.installation.rst b/docs/dovetailtool/dovetail.tool.installation.rst
index 24717fb0..fa8027ab 100644
--- a/docs/dovetailtool/dovetail.tool.installation.rst
+++ b/docs/dovetailtool/dovetail.tool.installation.rst
@@ -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.