-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (19 loc) · 782 Bytes
/
Makefile
File metadata and controls
23 lines (19 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dev:
# Setup our python based virtualenv
# This step assumes python3 is installed on your dev machine as python
[ -f venv/bin/python ] || (python -m venv venv)
. venv/bin/activate
venv/bin/pip install --upgrade "pip<25.3" setuptools
venv/bin/pip install pip-tools
venv/bin/pip-compile --output-file=requirements/prod.txt requirements/prod.in
venv/bin/pip install --no-cache -r requirements/prod.txt
test: dev
pytest --cov=framework --cov-report=html --cov-config=.coveragerc
dist: dev
venv/bin/python setup.py build
centos:
rpm -q epel-release || sudo yum -y install epel-release
sudo yum -y install gcc git openssl-devel sqlite-devel ncurses-devel
ubuntu:
sudo apt-get update
sudo apt-get -y install build-essential gcc git libssl-dev sqlite3 libncurses-dev