diff --git a/pyproject.toml b/pyproject.toml index 50d93b5..59514a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,37 +1,4 @@ -[project] -name="ahserver" -version = "1.0.3" -description = "A application server base on aiohttp" -authors = [{ name = "yu moqing", email = "yumoqing@gmail.com" }] -readme = "README.md" -requires-python = ">=3.8" -license = {text = "MIT"} -dependencies = [ - "asyncio", - "aiofiles", - "aiodns", - "aiohttp==3.10.10", - "aiohttp_session", - "aiohttp_auth_autz", - "aiohttp-cors", - "aiomysql", - "aioredis", - "psycopg2-binary", - "aiopg", - "jinja2", - "ujson", - "openpyxl", - "pillow", - "py-natpmp", -] - -[project.optional-dependencies] -dev = ["pytest", "black", "mypy"] - [build-system] requires = ["setuptools>=61", "wheel"] build-backend = "setuptools.build_meta" -[tool.setuptools] -packages = {find = {}} - diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..a063f32 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,30 @@ +# setup.cfg +[metadata] +name = ahserver +version = 1.0.3 +description = A application server base on aiohttp +author = yu moqing +author_email = yumoqing@gmail.com +license = MIT + +[options] +packages = find: +python_requires = >=3.8 +install_requires = + asyncio + aiofiles + aiodns + aiohttp==3.10.10 + aiohttp_session + aiohttp_auth_autz + aiohttp-cors + aiomysql + aioredis + psycopg2-binary + aiopg + jinja2 + ujson + openpyxl + pillow + py-natpmp +