From aa7fed7817cf8e07543c78ac082b668d336bd20b Mon Sep 17 00:00:00 2001 From: Daniil Fajnberg Date: Wed, 29 Jun 2022 11:53:42 +0200 Subject: [PATCH] Add meta data and dependencies --- README.md | 2 +- requirements/common.txt | 4 ++++ requirements/dev.txt | 2 ++ setup.cfg | 19 ++++++++++++++----- src/{package_name => compub}/__init__.py | 0 5 files changed, 21 insertions(+), 6 deletions(-) rename src/{package_name => compub}/__init__.py (100%) diff --git a/README.md b/README.md index 9921e97..5a2d752 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Company publications API ## Dependencies -Python Version ..., OS ... +Python Version 3.10+, OS ... ## Building from source diff --git a/requirements/common.txt b/requirements/common.txt index e69de29..9c1bf34 100644 --- a/requirements/common.txt +++ b/requirements/common.txt @@ -0,0 +1,4 @@ +Pydantic +FastAPI +SQLAlchemy[asyncio] +Alembic \ No newline at end of file diff --git a/requirements/dev.txt b/requirements/dev.txt index f34043b..acdfcdf 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,2 +1,4 @@ -r common.txt coverage +sqlalchemy-stubs +aiosqlite diff --git a/setup.cfg b/setup.cfg index 21af43f..bc96268 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,8 +1,8 @@ [metadata] name = compub version = 0.0.1 -author = Daniil -author_email = mail@placeholder123.to +author = Daniil Fajnberg +author_email = mail@daniil.fajnberg.de description = Company publications API long_description = file: README.md long_description_content_type = text/markdown @@ -10,20 +10,29 @@ url = https://git.fajnberg.de/daniil/compub project_urls = Bug Tracker = https://git.fajnberg.de/daniil/compub/issues classifiers = - Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: 3.10 Operating System :: OS Independent + Development Status :: 3 - Alpha + Framework :: AsyncIO + Framework :: FastAPI [options] package_dir = = src packages = find: -python_requires = >=3 +python_requires = >=3.10 install_requires = - ... + Pydantic + FastAPI + SQLAlchemy[asyncio] + Alembic [options.extras_require] dev = coverage + sqlalchemy-stubs + aiosqlite [options.packages.find] where = src diff --git a/src/package_name/__init__.py b/src/compub/__init__.py similarity index 100% rename from src/package_name/__init__.py rename to src/compub/__init__.py