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.6.2.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file flit_scm-1.6.2.tar.gz
.
File metadata
- Download URL: flit_scm-1.6.2.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 | 6feb1334be1f31616ffb6d54485fdcd2d86796db304e126a137510139e90745c |
|
MD5 | 87ee588ee6048e065a48af9d20088e37 |
|
BLAKE2b-256 | d0176ccad099ef9802478643fcbca909b597da9421f0815a6dac2835c4a9c951 |
File details
Details for the file flit_scm-1.6.2-py3-none-any.whl
.
File metadata
- Download URL: flit_scm-1.6.2-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 | 6d585cc920996c5209e27421259102c33848cd59aec1589a9a46ba464b895bbe |
|
MD5 | 4cd2bd47407f6c3bc857b06339180097 |
|
BLAKE2b-256 | 446d7ac5c0180b627d926101b5800e3978bf6b4424aabccf6b23b04159deaefb |