mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Tiny fixes to the makefile
The built-in `virtualenv` module is called `venv`. Seems like this Makefile hasn't been used in a while. I like dusting stuff ...
This commit is contained in:
@@ -46,18 +46,18 @@ ramdisk:
|
||||
.PHONY: ramdisk-virtualenv
|
||||
ramdisk-virtualenv: ramdisk
|
||||
[ ! -e "/mnt/ramdisk/.venv/bin/activate" ] && \
|
||||
python -m virtualenv /mnt/ramdisk/.venv
|
||||
@echo "/mnt/ramdisk/.venv" >> $(venv_file)
|
||||
python -m venv /mnt/ramdisk/.venv
|
||||
echo "/mnt/ramdisk/.venv" >> $(venv_file)
|
||||
|
||||
.PHONY: virtualenv
|
||||
virtualenv:
|
||||
[ ! -e $(venv_dir) ] && rm -rf $(venv_file) && python -m virtualenv $(venv_dir)
|
||||
[ ! -e $(venv_dir) ] && rm -rf $(venv_file) && python -m venv $(venv_dir)
|
||||
@echo $(venv_dir) >> $(venv_file)
|
||||
|
||||
.PHONY: test-install
|
||||
test-install: virtualenv
|
||||
. $(get_venv_path)/bin/activate && \
|
||||
python -m pip install --upgrade pip virtualenv -e .[tests,dev] && \
|
||||
python -m pip install --upgrade pip -e .[tests,dev] && \
|
||||
pipenv install --dev
|
||||
|
||||
.PHONY: submodules
|
||||
|
||||
Reference in New Issue
Block a user