Skip to main content

flit_scm

A PEP 518 build backend that uses setuptools_scm to generate a version file from your version control system, then flit_core to build the package.

To use it, set the build-system table in your pyproject.toml to as follows:

[build-system]
requires = ["flit_scm"]
build-backend = "flit_scm:buildapi"

Flit and setuptools_scm can be configured as normal (refer to their documentation). Example:

[build-system]
requires = ["flit_scm"]
build-backend = "flit_scm:buildapi"

[tool.flit.sdist]
exclude = [".gitignore"]

[tool.setuptools_scm]
write_to = "src/_version.py"

Release files for flit-scm 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flit-scm 1.7.0
File Size Uploaded
flit_scm-1.7.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flit-scm 1.7.0
File Interpreter ABI Platform
flit_scm-1.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / flit_scm-1.7.0.tar.gz

Download URL flit_scm-1.7.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
961bd6fb24f31bba75333c234145fff88e6de0a90fc0f7e5e7c79deca69f6bb2
BLAKE2b-256 checksum
How to use checksums
e299961b062461652435b6ad9042d2ffdd75e327b36936987c2073aa784334d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.5

Release files / flit_scm-1.7.0-py3-none-any.whl

Download URL flit_scm-1.7.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e864caa8a63f708f5bb2f1b5b53eedcd4da75ec2cc6221a64cea7aa5c9eae1a
BLAKE2b-256 checksum
How to use checksums
b8c38d97318eeca2cf41e2a59e3af3e79d5fd23d56eed56ef1c34866d3b0a435
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.5

Release history Release notifications | RSS feed

This release

1.7.0 This release

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page