diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7e12368 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[project] +name = "aggify" +version = "0.1.6" +authors = [ + { name="SeYeD.Dev", email="me@seyed.dev" }, +] +description = "A MongoDB aggregation generator for Mongoengine" +readme = "README.md" +requires-python = ">=3.10" +dependencies = [ + "mongoengine >= 0.27.0", +] +classifiers = [ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", +] + +[project.urls] +Homepage = "https://github.com/Aggify/aggify" +"Source Code" = "https://github.com/Aggify/aggify" +"Bug Tracker" = "https://github.com/Aggify/aggify/issues" +Documentation = "https://github.com/Aggify/aggify/docs" + +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py deleted file mode 100644 index 13a3a35..0000000 --- a/setup.py +++ /dev/null @@ -1,22 +0,0 @@ -from setuptools import setup, find_packages - -setup( - name="aggify", - version="0.1.6", - description="A MongoDB aggregation generator for Mongoengine", - author="SeYeD.Dev", - author_email="me@seyed.dev", - url="https://github.com/Aggify/aggify", - packages=find_packages(), - install_requires=["mongoengine >= 0.27.0"], - python_requires=">=3.10", - long_description=open('README.md', 'r').read(), - long_description_content_type='text/markdown', - classifiers=[ - "Development Status :: 3 - Alpha", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.11", - ], -)