Project packaging

This commit is contained in:
Ivan Golikov 2022-06-12 13:50:05 +03:00
parent 7c66d7934e
commit 7933983ffc
3 changed files with 23 additions and 0 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
venv/ venv/
.idea/ .idea/
dist/
rectes.egg-info/

3
pyproject.toml Normal file
View file

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"

18
setup.cfg Normal file
View file

@ -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