diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5ae5aea --- /dev/null +++ b/Makefile | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | all: install | ||
| 2 | |||
| 3 | import: venv | ||
| 4 | venv/bin/python3 ./halfnarp2.py -i | ||
| 5 | |||
| 6 | do-export: venv | ||
| 7 | venv/bin/python3 ./halfnarp2.py -e | ||
| 8 | |||
| 9 | run: venv | ||
| 10 | PYTHONIOENCODING=utf-8 venv/bin/python3 ./halfnarp2.py | ||
| 11 | |||
| 12 | run: venv | ||
| 13 | PYTHONIOENCODING=utf-8 venv/bin/python3 ./fullnarp.py | ||
| 14 | |||
| 15 | venv: | ||
| 16 | python3 -m venv ./venv | ||
| 17 | |||
| 18 | install: venv | ||
| 19 | venv/bin/pip install --upgrade pip | ||
| 20 | venv/bin/pip install -r requirements.txt | ||
