forked from containerbuildsystem/atomic-reactor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (19 loc) · 868 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PYTHON_VERSION_VENV ?= python3.8
.PHONY: venv
venv:
virtualenv --python=${PYTHON_VERSION_VENV} venv
venv/bin/pip install --upgrade pip
.PHONY: pip-compile
pip-compile: pip-tools
venv/bin/pip-compile --output-file=requirements.txt requirements.in
venv/bin/pip-compile --generate-hashes --output-file=tests/requirements.txt tests/requirements.in
# --allow-unsafe: because we are specifying pip as a dependency
venv/bin/pip-compile --generate-hashes --allow-unsafe --output-file=requirements-pip.txt \
requirements-pip.in
# --allow-unsafe: because we are specifying pip as a dependency
venv/bin/pip-compile --generate-hashes --allow-unsafe --output-file=requirements-build.txt \
requirements-build.in
venv/bin/pip-compile --output-file=requirements-devel.txt requirements-devel.in
.PHONY: pip-tools
pip-tools: venv
venv/bin/pip install --upgrade pip-tools