From 7933983ffc7dbef503051ea10dc6591985cfea77 Mon Sep 17 00:00:00 2001 From: Ivan Golikov Date: Sun, 12 Jun 2022 13:50:05 +0300 Subject: [PATCH] Project packaging --- .gitignore | 2 ++ pyproject.toml | 3 +++ setup.cfg | 18 ++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 pyproject.toml create mode 100644 setup.cfg diff --git a/.gitignore b/.gitignore index 4e0bbdf..1369c87 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ venv/ .idea/ +dist/ +rectes.egg-info/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b0f0765 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=42"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..c2a9345 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,18 @@ +[metadata] +name = rectes +version = 0.1 + +[options] +package_dir = = src +packages = find: +install_requires = + fastapi==0.78.0 + aioredis==2.0.1 +python_requires = >=3.10 + +[options.extras_require] +hiredis = + hiredis==2.0.0 + +[options.packages.find] +where = src