X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a57ab326b20b720518ab6f513bd0f8ba357d8d86..eaa048925e4443cc0e2b57b795f2852bedb4287f:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index e23a58c..3accdf4 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,8 @@ # Copyright (C) 2020 Łukasz Langa -from setuptools import setup, find_packages -import sys import os +import sys + +from setuptools import find_packages, setup assert sys.version_info >= (3, 6, 2), "black requires Python 3.6.2+" from pathlib import Path # noqa E402 @@ -98,7 +99,7 @@ setup( install_requires=[ "click>=8.0.0", "platformdirs>=2", - "tomli>=1.1.0; python_version < '3.11'", + "tomli>=1.1.0; python_full_version < '3.11.0a7'", "typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'", "pathspec>=0.9.0", "dataclasses>=0.6; python_version < '3.7'",