Commit a263336
committed
Fix __package_version__ attr literal evaluation.
Dynamic metadata should be compatible with ast.literal_eval() so
that import fallback is not needed. It's important to avoid the
import fallback as that pulls in a number of unnecessary build
dependencies.
See:
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata1 parent 7312ae0 commit a263336
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments