From 9be34902857834d7e99ed57224ed8a7c8c649e5f Mon Sep 17 00:00:00 2001 From: Geir Arne Hjelle Date: Tue, 30 Jul 2019 12:00:26 +0200 Subject: [PATCH] Depend on dataclasses backport for Python 3.6 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e121f8e..6d0fd5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,9 @@ keywords = "timer class contextmanager decorator" # Requirements requires-python = ">=3.6" -requires = [] +requires = [ + "dataclasses; python_version < '3.7'", +] [tool.flit.metadata.requires-extra]