Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions doc/bootstrap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ included in the sdist (or by unzipping it to the correct directory)::
# Install somewhere else:
python bootstrap_install.py --installdir /path/to/site-packages dist/flit_core-*.whl

As of version 3.6, flit_core bundles the ``tomli`` TOML parser, to avoid a
dependency cycle. If you need to unbundle it, you will need to special-case
installing flit_core and/or tomli to get around that cycle.
In Python 3.11 and newer, ``flit_core`` uses the standard library :mod:`tomllib`
module, meaning that ``flit_core`` has no third-party dependencies.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's vendored for all Python versions, just not used in >=3.11.

For older versions of Python, ``flit_core`` as of version 3.6 bundles the
``tomli`` TOML parser to avoid a dependency cycle. If you need to unbundle it,
you must use a Python version that includes :mod:`!tomllib`, or special-case
installing ``flit_core`` and/or ``tomli`` to get around that cycle.

After ``flit_core``, I recommend that you get `installer
<https://pypi.org/project/installer/>`_ set up. You can use
Expand Down
Loading