File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,18 @@ included in the sdist (or by unzipping it to the correct directory)::
2626 # Install somewhere else:
2727 python bootstrap_install.py --installdir /path/to/site-packages dist/flit_core-*.whl
2828
29- As of version 3.6, flit_core bundles the ``tomli `` TOML parser, to avoid a
30- dependency cycle. If you need to unbundle it, you will need to special-case
31- installing flit_core and/or tomli to get around that cycle.
29+ .. note ::
30+
31+ This note only applies if you need to unbundle or unvendor dependencies.
32+
33+ ``flit_core `` unconditionally bundles the ``tomli `` TOML parser,
34+ to avoid a dependency cycle for older versions of Python that don't include
35+ the standard library :mod: `tomllib ` module.
36+
37+ The ``tomli `` library is only used on Python 3.10 and older, meaning that
38+ if you use Python 3.11 or newer you can simply remove the bundled ``tomli ``.
39+ Otherwise, you must special-case installing ``flit_core `` and/or ``tomli ``
40+ to resolve the dependency cycle between the two packages.
3241
3342After ``flit_core ``, I recommend that you get `installer
3443<https://pypi.org/project/installer/> `_ set up. You can use
You can’t perform that action at this time.
0 commit comments