Skip to content

Commit

Permalink
Switch back to using virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed Dec 8, 2020
1 parent 5b84068 commit 7a17c86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ check-python-packages-nightly:
@echo "================== CHECK PYTHON PACKAGES ===================="
@echo ""

test -f $(VIRTUALENV_COMPONENTS_DIR)/bin/activate || $(PYTHON_VERSION) -m venv $(VIRTUALENV_COMPONENTS_DIR)
test -f $(VIRTUALENV_COMPONENTS_DIR)/bin/activate || virtualenv --python=$(PYTHON_VERSION) $(VIRTUALENV_COMPONENTS_DIR) --no-download
@for component in $(COMPONENTS_WITHOUT_ST2TESTS); do \
echo "==========================================================="; \
echo "Checking component:" $$component; \
Expand Down Expand Up @@ -378,7 +378,7 @@ flake8: requirements .flake8
@echo
@echo "==================== st2client install check ===================="
@echo
test -f $(VIRTUALENV_ST2CLIENT_DIR)/bin/activate || $(PYTHON_VERSION) -m venv $(VIRTUALENV_ST2CLIENT_DIR) --system-site-packages
test -f $(VIRTUALENV_ST2CLIENT_DIR)/bin/activate || virtualenv --python=$(PYTHON_VERSION) $(VIRTUALENV_ST2CLIENT_DIR) --no-download --system-site-packages

# Setup PYTHONPATH in bash activate script...
# Delete existing entries (if any)
Expand Down Expand Up @@ -582,7 +582,7 @@ virtualenv:
@echo
@echo "==================== virtualenv ===================="
@echo
test -f $(VIRTUALENV_DIR)/bin/activate || $(PYTHON_VERSION) -m venv $(VIRTUALENV_DIR)
test -f $(VIRTUALENV_DIR)/bin/activate || virtualenv --python=$(PYTHON_VERSION) $(VIRTUALENV_DIR) --no-download

# Setup PYTHONPATH in bash activate script...
# Delete existing entries (if any)
Expand Down

0 comments on commit 7a17c86

Please sign in to comment.