Changed project structure for it to build correctly
This commit is contained in:
parent
a533dddf1a
commit
6858eeaebe
11 changed files with 45 additions and 2 deletions
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["setuptools", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
17
setup.cfg
Normal file
17
setup.cfg
Normal file
|
|
@ -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
|
||||||
8
src/based.egg-info/PKG-INFO
Normal file
8
src/based.egg-info/PKG-INFO
Normal file
|
|
@ -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
|
||||||
9
src/based.egg-info/SOURCES.txt
Normal file
9
src/based.egg-info/SOURCES.txt
Normal file
|
|
@ -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
|
||||||
1
src/based.egg-info/dependency_links.txt
Normal file
1
src/based.egg-info/dependency_links.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
1
src/based.egg-info/top_level.txt
Normal file
1
src/based.egg-info/top_level.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
based
|
||||||
4
src/based/__init__.py
Normal file
4
src/based/__init__.py
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
__version__ = "0.1.0"
|
||||||
|
|
||||||
|
from .db import *
|
||||||
|
from .columns import *
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import unittest
|
import unittest
|
||||||
import uuid
|
import uuid
|
||||||
from db import DBConnector, ColumnUpdate, ColumnCondition
|
from based.db import DBConnector, ColumnUpdate, ColumnCondition
|
||||||
from columns import *
|
from based.columns import *
|
||||||
|
|
||||||
conninfo = "postgresql://postgres:asarch6122@localhost"
|
conninfo = "postgresql://postgres:asarch6122@localhost"
|
||||||
connector = DBConnector(conninfo)
|
connector = DBConnector(conninfo)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue