From 125de90a183391159d01d6ff6322208a37c43c86 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 23 Jan 2020 15:13:29 -0800 Subject: [PATCH] Make module installable --- .gitignore | 1 + MANIFEST.in | 3 +++ setup.py | 14 ++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 5cb296e..b081f05 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ __pycache__/ *.py[cod] *$py.class +*.egg-info venv/ .vscode diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..f65682b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +graft amanuensis/resources +graft amanuensis/templates +global-exclude *.pyc \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a0b4352 --- /dev/null +++ b/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup, find_packages + +setup( + name='amanuensis', + version='0.0.1', + packages=find_packages(), + include_package_data=True, + zip_safe=True, + install_requires=[ + 'flask', + 'flask_wtf', + 'flask_login', + ], +) \ No newline at end of file