summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorKOLANICH <kolan_n@mail.ru>2021-02-16 13:59:07 +0300
committerKOLANICH <kolan_n@mail.ru>2021-02-16 14:06:40 +0300
commitda279dec7e8121c4ff6fc1ea166570888a2bb988 (patch)
treec0fda06fafe0a4af16b876cf9a6bc6e7cdc4e36b /pyproject.toml
parenta9dc095ad49d1e1a11197af31b188bb7c50d85de (diff)
downloaddnspython-da279dec7e8121c4ff6fc1ea166570888a2bb988.tar.gz
Moved the metadata into setup.cfg from setup.py.
Fixed the dependency on poetry instead of poetry-core in pyproject.toml. Fetching the version from git tags now when using setuptools (for poetry we cannot do that currently, see https://github.com/python-poetry/poetry/issues/693).
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index c824f0e..6c88e44 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,5 +36,7 @@ trio = ['trio']
curio = ['curio', 'sniffio']
[build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core"]
+build-backend = "poetry.core.masonry.api"
+
+[tool.setuptools_scm] \ No newline at end of file