mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-07 03:56:42 +01:00
Some simplification, but it runs venv install way too often
This commit is contained in:
3
Makefile
3
Makefile
@@ -9,7 +9,6 @@ VENV_DIR := .pyenv-$(shell uname)
|
||||
PYTHON_BIN := $(VENV_DIR)/bin/python
|
||||
|
||||
PYTHON := . $(VENV_DIR)/bin/activate; python
|
||||
PIP := $(PYTHON) -m pip
|
||||
PYTEST := $(PYTHON) -m pytest
|
||||
|
||||
MAKO_RENDER := etc/bin/mako-render
|
||||
@@ -69,7 +68,7 @@ $(VENV_BIN):
|
||||
|
||||
$(PYTHON_BIN): $(VENV_BIN) requirements.txt
|
||||
$(VENV_BIN) -p python3.8 $(VENV_DIR)
|
||||
$(PIP) install -r requirements.txt
|
||||
$@ -m pip install -r requirements.txt
|
||||
|
||||
$(MAKO_RENDER): $(PYTHON_BIN) $(wildcard $(MAKO_LIB_DIR)/*)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user