diff --git a/docs/conf.py b/docs/conf.py index 9b4581ee..f0ddadda 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -32,7 +32,7 @@ # `sphinx-build -b html . _build/html`. See Issue: # https://github.com/rtfd/readthedocs.org/issues/1139 # DON'T FORGET: Check the box "Install your project inside a virtualenv using -# setup.py install" in the RTD Advanced Settings. +# pyproject.toml install" in the RTD Advanced Settings. # Additionally, it helps us to avoid running apidoc manually try: # for Sphinx >= 1.7 @@ -104,9 +104,9 @@ # built documents. # # The short X.Y version. -version = "" # Is set by calling `setup.py docs` +version = "" # Is set by calling `pyproject.toml docs` # The full version, including alpha/beta/rc tags. -release = "" # Is set by calling `setup.py docs` +release = "" # Is set by calling `pyproject.toml docs` # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pyproject.toml b/pyproject.toml index 136df442..d1f1da06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "ahbicht" -description = "Python Library to parse AHB expressions" +description = "Python Library to parse AHB expressions." license = { text = "MIT" } -requires-python = ">=3.9" +requires-python = ">=3.8" authors = [{ name = "Annika Schlögl", email = "annika.schloegl@hochfrequenz.de" }] -keywords = ["your", "important", "keywords"] +keywords = ["AHB", "Parsing", "Expressions"] classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", @@ -13,20 +13,22 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] + dependencies = [ - "attrs", + "attrs>=21.4.0", "lark>=1.1.4", "inject", "marshmallow", "marshmallow_enum", "maus>=0.6.0", - "efoli>=1.1.0", - "pytz" + "pytz", + "efoli>=1.1.0" ] # add all the dependencies here dynamic = ["readme", "version"] @@ -71,16 +73,10 @@ dev = [ "pip-tools" ] - [project.urls] Changelog = "https://github.com/Hochfrequenz/ahbicht/releases" Homepage = "https://github.com/Hochfrequenz/ahbicht" -Documetnation = "https://ahbicht.readthedocs.io/en/latest/" - - -[build-system] -requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"] -build-backend = "hatchling.build" +Documentation = "https://ahbicht.readthedocs.io/en/latest/" [tool.black] line-length = 120 diff --git a/setup.py b/setup.py deleted file mode 100644 index fbf54326..00000000 --- a/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup(name="ahbicht", use_scm_version=True)