From 39c85710f5ab1f7c63caf30beaaaede7286fc53a Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 12 Aug 2019 21:49:49 -0400 Subject: Initial commit. --- .gitignore | 3 +++ Makefile | 29 +++++++++++++++++++++++++++++ requirements.txt | 1 + 3 files changed, 33 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 requirements.txt 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 +# +# 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 -- cgit v1.2.3