8.55. Flit-Core-3.12.0

#### Linux From Scratch - Version r13.0-154-systemd

### Chapter 8. Installing Basic System Software

- Prev

  Python-3.14.6

- Next

  Packaging-26.2

- Up
- Home

# 8.55. Flit-Core-3.12.0

Flit-core is the distribution-building parts of Flit (a packaging tool for simple Python modules).

Approximate build time: less than 0.1 SBU
Required disk space: 1.3 MB

## 8.55.1. Installation of Flit-Core

Build the package:

    pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD

Install the package:

    pip3 install --no-index --find-links dist flit_core

The meaning of the pip3 configuration options and commands:

wheel

  This command builds the wheel archive for this package.

`-w dist`

  Instructs pip to put the created wheel into the `dist` directory.

`--no-cache-dir`

  Prevents pip from copying the created wheel into the `/root/.cache/pip` directory.

install

  This command installs the package.

`--no-build-isolation`, `--no-deps`, and `--no-index`

  These options prevent fetching files from the online package repository (PyPI). If packages are installed in the correct order, pip won't need to fetch any files in the first place; these options add some safety in case of user error.

`--find-links dist`

  Instructs pip to search for wheel archives in the `dist` directory.

## 8.55.2. Contents of Flit-Core

Installed directory: /usr/lib/python3.14/site-packages/flit_core and /usr/lib/python3.14/site-packages/flit_core-3.12.0.dist-info

- Prev

  Python-3.14.6

- Next

  Packaging-26.2

- Up
- Home