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.4.1.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file flit_scm-1.4.1.tar.gz
.
File metadata
- Download URL: flit_scm-1.4.1.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 | 4255d59898416891010144c96b1fe53274262224e285afbc6426c1f5024a9b1e |
|
MD5 | 27852f928880efbff1c26f3a7b164124 |
|
BLAKE2b-256 | 4787cb524adbca0865db8500238f36b641dbe69fc2f64cdccc689222c786eb26 |
File details
Details for the file flit_scm-1.4.1-py3-none-any.whl
.
File metadata
- Download URL: flit_scm-1.4.1-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 | abc95dff047fb831574caeb226486d0e52bd7f41f2eff46a04eaac410efec5f0 |
|
MD5 | 4a51685a5585e3191a1bc13e93bc1e01 |
|
BLAKE2b-256 | f09811a658833923a74a8330ffa132d9f0f910e94e039ce4f195600375314901 |