summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2022-05-15 15:45:55 -0700
committerGitHub <noreply@github.com>2022-05-15 15:45:55 -0700
commit0d67ae1b7938ada3fe5df680b643d69290f0c099 (patch)
tree8fa5d3325837a27cf950dec47883c4cd6c3a6215 /setup.py
parente8973c5f50e9510c6ec7addf8fad70eceff6ab89 (diff)
downloadpython-coveragepy-git-0d67ae1b7938ada3fe5df680b643d69290f0c099.tar.gz
Use tomllib on Python 3.11 (#1359)
Co-authored-by: hauntsaninja <>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 46f764da..96959250 100644
--- a/setup.py
+++ b/setup.py
@@ -108,7 +108,7 @@ setup_args = dict(
extras_require={
# Enable pyproject.toml support.
- 'toml': ['tomli'],
+ 'toml': ['tomli; python_version < "3.11"'],
},
# We need to get HTML assets from our htmlfiles directory.