mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 17:51:49 +03:00
Add minimal venv in Makefile
This commit is contained in:
parent
753623ec31
commit
6f4da273c0
11
Makefile
11
Makefile
@ -31,6 +31,17 @@ venv-upgrade: ## Upgrade Python 3 run-time dependencies
|
||||
./venv/bin/pip install --upgrade -r requirements.txt
|
||||
./venv/bin/pip install --upgrade -r optional-requirements.txt
|
||||
|
||||
# For minimal installation (without optional dependencies)
|
||||
|
||||
venv-min-python: ## Install Python 3 venv
|
||||
virtualenv -p /usr/bin/python3 venv-min
|
||||
|
||||
venv-min: venv-min-python ## Install Python 3 run-time dependencies
|
||||
./venv/bin/pip install -r requirements.txt
|
||||
|
||||
venv-min-upgrade: ## Upgrade Python 3 run-time dependencies
|
||||
./venv/bin/pip install --upgrade -r requirements.txt
|
||||
|
||||
# ===================================================================
|
||||
# Tests
|
||||
# ===================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user