File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ check-python-packages:
228
228
@echo " "
229
229
@echo " ================== CHECK PYTHON PACKAGES ===================="
230
230
@echo " "
231
- test -f $(VIRTUALENV_COMPONENTS_DIR ) /bin/activate || $( PYTHON_VERSION ) -m venv $( VIRTUALENV_COMPONENTS_DIR ) || virtualenv --python=$(PYTHON_VERSION ) $(VIRTUALENV_COMPONENTS_DIR ) --no-download
231
+ test -f $(VIRTUALENV_COMPONENTS_DIR ) /bin/activate || virtualenv --python=$(PYTHON_VERSION ) $(VIRTUALENV_ST2CLIENT_DIR ) --no-download --system-site-packages
232
232
@for component in $(COMPONENTS_WITHOUT_ST2TESTS ) ; do \
233
233
echo " ===========================================================" ; \
234
234
echo " Checking component:" $$ component; \
@@ -396,16 +396,6 @@ flake8: requirements .flake8
396
396
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "pip==$(PIP_VERSION)"
397
397
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "setuptools==44.1.0"
398
398
399
- # if [[ $(PYTHON_VERSION) == *"python2.7"* ]]; then \
400
- # echo 'Upgrading pip==$(PIP_VERSION) in python2.7 virtualenv'; \
401
- # $(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "pip==$(PIP_VERSION)"; \
402
- # $(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "setuptools==44.1.0"; \
403
- #else \
404
- # echo 'Upgrading pip==$(PIP_VERSION) in python3.x virtualenv'; \
405
- # $(VIRTUALENV_ST2CLIENT_DIR)/bin/python -m pip install --upgrade "pip==$(PIP_VERSION)"; \
406
- # $(VIRTUALENV_ST2CLIENT_DIR)/bin/python -m pip install --upgrade "setuptools==44.1.0"; \
407
- #fi
408
-
409
399
$(VIRTUALENV_ST2CLIENT_DIR)/bin/activate; cd st2client ; ../$(VIRTUALENV_ST2CLIENT_DIR)/bin/python setup.py install ; cd ..
410
400
$(VIRTUALENV_ST2CLIENT_DIR)/bin/st2 --version
411
401
$(VIRTUALENV_ST2CLIENT_DIR)/bin/python -c "import st2client"
You can’t perform that action at this time.
0 commit comments