Skip to main content

No project description provided

Project description

Poetry version from file plugin

This is a simple Poetry plugin that loads the project version dynamically from a VERSION file.

Usage

Add the plugin to the build system requirements:

[build-system]
requires = ["poetry-core", "poetry-version-from-file"]

The plugin must be enabled with this configuration:

[tool.poetry.plugins.version-from-file]
enabled = "true"

The create a file named VERSION and put your projects version nummber in it.

If you already have a file containing your projects version you can configure the plugin to use that file with the following settings in your pyproject.toml:

[tool.poetry.plugins.version-from-file]
file = "VERSION.txt"

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

poetry_version_from_file-1.1.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

poetry_version_from_file-1.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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