A PEP 518 build backend that uses setuptools_scm to generate a version file from your version control system, then flit to build the package.
Project description
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"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flit_scm-1.5.0.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file flit_scm-1.5.0.tar.gz
.
File metadata
- Download URL: flit_scm-1.5.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd0c704375b4424152caced0584cebe4131ccdc236a239dd1a055a80ee935f70 |
|
MD5 | ce569714492134eb42eaf84bdcaa2afa |
|
BLAKE2b-256 | e116e73f454f9914af29f226ea6fee32e98a2605778895b31d35aa66f0ab609e |
File details
Details for the file flit_scm-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: flit_scm-1.5.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 356b99f5c31628dfdf91d93d5b36d54e84bc68dc1638cd66fa9146f510c9dbd5 |
|
MD5 | a0d00793b612976a01fc190e3b41e082 |
|
BLAKE2b-256 | 2dfc2b463be3725c068bd53b699cf8f626f16b41ea773b794cc7750ecc775d10 |