Skip to content

Commit

Permalink
remove virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
takenori-y authored Jun 14, 2024
1 parent 62a7a68 commit e33e8be
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ all: check doxygen.done
check: venv_dev bats.done shellcheck.done shfmt.done sptk.done

venv:
@if type virtualenv > /dev/null 2>&1; then \
test -d venv || virtualenv -p python$(PYTHON_VERSION) venv; \
else \
test -d venv || python$(PYTHON_VERSION) -m venv venv; \
fi
test -d venv || python$(PYTHON_VERSION) -m venv venv
. ./venv/bin/activate && python -m pip install pip --upgrade
. ./venv/bin/activate && python -m pip install -r requirements.txt --upgrade
touch venv/bin/activate
Expand Down

0 comments on commit e33e8be

Please sign in to comment.