Skip to main content

A version source plugin to the hatchling.build python build backend that obtains a version by running a command.

Project description

hatch-command-version

A version source plugin to the hatchling.build python build backend that obtains a version by running a command.

[build-system]
requires = [
    "hatchling",
    "hatch-command-version",        # pull in this plugin
]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "command"                   # pick this version source plugin
command = "path/to/custom-generator" # the command to execute

Project details


Download files

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

Source Distribution

hatch_command_version-1.0.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hatch_command_version-1.0.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file hatch_command_version-1.0.0.tar.gz.

File metadata

  • Download URL: hatch_command_version-1.0.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hatch_command_version-1.0.0.tar.gz
Algorithm Hash digest
SHA256 36fe01c6eb840589efd0d85845ee35942532ffdce36f9554e3911e626dcf5b12
MD5 b118e14a3e007868b6d0310f1f8063c7
BLAKE2b-256 2a170fad358b56397c83ca7c496c02a42b7e4d7ebee794f0a362baade47153b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_command_version-1.0.0.tar.gz:

Publisher: python-publish.yml on mmcshane/hatch-command-version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hatch_command_version-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_command_version-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94dd72b091db97614ff1f0d509630f5c5087b040f81de21d45a509435f4a663b
MD5 724207a20e24eb88791fd68ea1e4d6bf
BLAKE2b-256 2957f5c682006365e4dbc4cd70a0f6f8e43582941049530320eddefce65aabd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_command_version-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on mmcshane/hatch-command-version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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