Metadata-Version: 2.1
Name: poetry-version-from-file
Version: 1.0.1
Summary: 
Home-page: https://github.com/tobiasge/poetry-version-from-file
License: MIT
Keywords: packaging,poetry-plugin,poetry
Author: Tobias Genannt
Author-email: tobias.genannt@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Requires-Dist: poetry (>=1.8,<2.0)
Project-URL: Bug Tracker, https://github.com/tobiasge/poetry-version-from-file/issues
Description-Content-Type: text/markdown

## 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:
```toml
[build-system]
requires = ["poetry-core", "poetry-version-from-file"]
```

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`:

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

