Skip to main content

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.

Reason this release was yanked:

Alpha version was uploaded as a personal test before releasing 1.0.0

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flit_scm-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file flit_scm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: flit_scm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for flit_scm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee09c47e5c9d4927f14cabc833430abfb8610a5d346e5db7ee1e7df1d1497a7
MD5 1e5e3615bcce5c322873feae7d3d10cf
BLAKE2b-256 35db264a4e2871c26258b6ca5c24cd85fd9a272bbca6052b1c68c1415230fc32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page