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.0.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file flit_scm-1.6.0.tar.gz
.
File metadata
- Download URL: flit_scm-1.6.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 | b9aba5f8eba3fbf34ff523ed23bfe841e29dfa1c6cb87c29cd7f90c378e6f823 |
|
MD5 | e7e5cb941b21f3063cd87232d117a5be |
|
BLAKE2b-256 | f46016078ad95e5d12f71cf7517f8bccdeb63f690000e12527c98555c3193f72 |
File details
Details for the file flit_scm-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: flit_scm-1.6.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 | fefdbd5d0c4a70cba2857067dba93ec6a24e07f7b083e3fab291b155c98593aa |
|
MD5 | 902f5fb631fc05be8cd29ec823637f7d |
|
BLAKE2b-256 | dd77822a75ef94afa0ffaf9e19f7430356e2688b41afb03a890b22b3ef0abfc2 |