diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile | 29 | ||||
-rw-r--r-- | requirements.txt | 1 |
3 files changed, 33 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6788da0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +__pycache__/ + +*~ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9da525b --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# +# SPDX-License-Identifier: ISC +# +# Copyright (C) 2019 rsiddharth <s@ricketyspace.net> +# +# This file is part of dingy. +# + +VENV_DIR=/usr/local/virtualenv/dingy +VENV_CMD=virtualenv-3 + + +dev: + pip install -r requirements.txt +.PHONY: dev + + +va: + @echo ${VENV_DIR}/bin/activate +.PHONY: va + + +venv: + rm -rf *.egg-info + ${SHELL} -c 'if [[ -d $(VENV_DIR) ]] then \ + rm -rf $(VENV_DIR); fi' + ${VENV_CMD} --clear --python=python3 $(VENV_DIR) +.PHONY: venv diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..32e8968 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Flask==1.1.1 |