diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9787c3b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..871fcc3 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,17 @@ +[metadata] +name = based +version = 0.1.0 +description = A simple, fast (maybe), and reliable (I hope) PostgreSQL ORM oriented for dynamic models. +author = nuark +author_email = me@nuark.xyz +license = MIT + +[options] +packages = based +python_requires = >=3.7 +include_package_data = True +package_dir = + =src + +[bdist_wheel] +universal = 1 \ No newline at end of file diff --git a/src/based.egg-info/PKG-INFO b/src/based.egg-info/PKG-INFO new file mode 100644 index 0000000..95ca52d --- /dev/null +++ b/src/based.egg-info/PKG-INFO @@ -0,0 +1,8 @@ +Metadata-Version: 2.1 +Name: based +Version: 0.1.0 +Summary: A simple, fast (maybe), and reliable (I hope) PostgreSQL ORM oriented for dynamic models. +Author: nuark +Author-email: me@nuark.xyz +License: MIT +Requires-Python: >=3.7 diff --git a/src/based.egg-info/SOURCES.txt b/src/based.egg-info/SOURCES.txt new file mode 100644 index 0000000..595c0a1 --- /dev/null +++ b/src/based.egg-info/SOURCES.txt @@ -0,0 +1,9 @@ +pyproject.toml +setup.cfg +src/based/__init__.py +src/based/columns.py +src/based/db.py +src/based.egg-info/PKG-INFO +src/based.egg-info/SOURCES.txt +src/based.egg-info/dependency_links.txt +src/based.egg-info/top_level.txt \ No newline at end of file diff --git a/src/based.egg-info/dependency_links.txt b/src/based.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/based.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/src/based.egg-info/top_level.txt b/src/based.egg-info/top_level.txt new file mode 100644 index 0000000..44e0d43 --- /dev/null +++ b/src/based.egg-info/top_level.txt @@ -0,0 +1 @@ +based diff --git a/src/based/__init__.py b/src/based/__init__.py new file mode 100644 index 0000000..3668c56 --- /dev/null +++ b/src/based/__init__.py @@ -0,0 +1,4 @@ +__version__ = "0.1.0" + +from .db import * +from .columns import * diff --git a/columns.py b/src/based/columns.py similarity index 100% rename from columns.py rename to src/based/columns.py diff --git a/db.py b/src/based/db.py similarity index 100% rename from db.py rename to src/based/db.py diff --git a/__init__.py b/tests/__init__.py similarity index 100% rename from __init__.py rename to tests/__init__.py diff --git a/db_test.py b/tests/db_test.py similarity index 98% rename from db_test.py rename to tests/db_test.py index d587e2e..bf98ac3 100644 --- a/db_test.py +++ b/tests/db_test.py @@ -1,7 +1,7 @@ import unittest import uuid -from db import DBConnector, ColumnUpdate, ColumnCondition -from columns import * +from based.db import DBConnector, ColumnUpdate, ColumnCondition +from based.columns import * conninfo = "postgresql://postgres:asarch6122@localhost" connector = DBConnector(conninfo)