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
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
Built Distribution
Close
Hashes for poetry_version_from_file-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb734e291ad56fd9ea113d3dbeb177965770435d6931e3baca8f9e7ed0e1eb9a |
|
MD5 | ceccdc79cdbf7c2d2c7e4b1da88e1083 |
|
BLAKE2b-256 | 1cbf744b59a53c0ecc75a4ce86eb122f1a61a4b2599a63d6717c45c25aa092f9 |
Close
Hashes for poetry_version_from_file-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce25ce2b353b6994c6d2ec55635ee96d60ff1d92e1e17a359f73558755bffad |
|
MD5 | ce7a62990239ac58f8262d55cc9bc668 |
|
BLAKE2b-256 | 46904bbf4b34915cde90ec20f116e2cb4166e0bed565c64fac5b10a6181425e3 |