We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6362470 commit 3a17749Copy full SHA for 3a17749
pyproject.toml
@@ -29,7 +29,11 @@ dependencies = [
29
]
30
31
[build-system]
32
-requires = ["setuptools>61", "wheel"]
+requires = [
33
+ "setuptools>61",
34
+ "wheel",
35
+ "tomli; python_version < '3.11'" # tomllib alternative
36
+]
37
build-backend = "setuptools.build_meta"
38
39
[project.scripts]
setup.py
@@ -5,7 +5,7 @@
5
try:
6
import tomllib
7
except ImportError:
8
- from pip._vendor import tomli as tomllib
+ import tomli as tomllib
9
10
def get_version():
11
return tomllib.loads(Path("pyproject.toml").read_text())['project']['version']
0 commit comments