File: Makefile

package info (click to toggle)
ofxstatement-plugins 20161204
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,160 kB
  • ctags: 1,619
  • sloc: python: 4,374; xml: 292; makefile: 103
file content (18 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
BIN=.venv/bin
PYTHON=$(BIN)/python
PIP=$(BIN)/pip

all: .venv/bin/ofxstatement .requirements.installed

.venv:
	virtualenv -p python3 --no-site-packages .venv

.venv/bin/ofxstatement: .venv setup.py
	$(PYTHON) setup.py develop

.requirements.installed: requirements.txt
	$(PIP) install -r requirements.txt
	touch .requirements.installed

test:
	$(BIN)/py.test --capture=no