diff --git a/.gitignore b/.gitignore index bdaab25..dde024f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ env/ +/dist/ diff --git a/pyproject.toml b/pyproject.toml index 1084957..75a6ae5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,6 @@ build-backend = "flit_core.buildapi" module = "warren" author = "josiah" author-email = "me@jowj.net" -home-page = "https://jowj.net" +home-page = "https://git.awful.club/projects/warren" classifiers = [ "License :: OSI Approved :: MIT License",] diff --git a/__init__.py b/warren.py similarity index 99% rename from __init__.py rename to warren.py index 75fba8b..565b665 100644 --- a/__init__.py +++ b/warren.py @@ -4,6 +4,8 @@ This will listen on two endpoints, and when data is posted to the proper one, matching a particular format, it will save that data to a local sqlite3 db.""" +__version__ = "0.1.0" + from datetime import datetime import logging import os @@ -15,10 +17,8 @@ import sqlite3 import pdb -__version__ = "0.1.0" logging.basicConfig(level=logging.DEBUG) - dbpath = "warren.db" app = Flask(__name__) @@ -96,7 +96,6 @@ def weir(): return "OK" except: return "Error.", 400 - if __name__ == '__main__':