diff --git a/pyproject.toml b/pyproject.toml index 8a19a453e2..addcba205a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,9 @@ +[project] +name = "gluonts" +dynamic = ["version", "readme"] +description = "Probabilistic time series modeling in Python." +requires-python = ">=3.7" + [tool.black] line-length = 79 @@ -40,6 +46,10 @@ ignore_missing_imports = true allow_redefinition = true follow_imports = "silent" +[tool.setuptools.dynamic] +version = {attr = "gluonts.__version__"} +readme = {file = "README.md", content-type = "text/markdown"} + [tool.isort] known_first_party = "gluonts" known_third_party = [