Commit a1bc329c authored by Crysple's avatar Crysple Committed by QuanluZhang
Browse files

support install from venv and travis CI

parent c1bda85e
...@@ -3,8 +3,12 @@ INSTALL_PREFIX ?= ${HOME}/.local ...@@ -3,8 +3,12 @@ INSTALL_PREFIX ?= ${HOME}/.local
EXAMPLES_PATH ?= ${HOME}/nni/examples EXAMPLES_PATH ?= ${HOME}/nni/examples
WHOAMI := $(shell whoami) WHOAMI := $(shell whoami)
YARN := $(INSTALL_PREFIX)/yarn/bin/yarn YARN := $(INSTALL_PREFIX)/yarn/bin/yarn
ifndef TRAVIS
PIP_MODE ?= --user PIP_MODE ?= --user
ifdef TRAVIS
undefine PIP_MODE
endif
ifdef VIRTUAL_ENV
undefine PIP_MODE
endif endif
.PHONY: build install uninstall dev-install .PHONY: build install uninstall dev-install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment