Hatch plugin to process reqstool-python-decorators when building with Hatch
Project description
Description
This documentation provides information on how to use the Reqstool Hatch Plugin. The plugin is designed to be used with the Hatch build tool and facilitates the integration of the Reqstool Decorators in your project.
Installation
To use the Reqstool Hatch Plugin, follow these steps:
- Update your project dependencies in the
pyproject.toml
file and ensure that the Reqstool Decorators' dependency is listed as follows;
dependencies = ["reqstool-python-decorators == <version>"]
When you declare this in the pyproject.toml file, you are specifying the required versions for the dependency of the Reqstool Decorators. This ensures that the correct version of the dependencies are used when installing and running your project.
Usage
Configuration
The plugin can be configured through the pyproject.toml
file. Configure plugin in pyproject.toml
as follows;
[tool.hatch.build.targets.wheel.hooks.decorators]
dependencies = ["reqstool-python-hatch-plugin == <version>"]
path = ["src","tests"]
It specifies that the reqstool-python-hatch-plugin is a dependency for the build process, and it should be of a specific version.
Further it defines the paths where the plugin should be applied. In this case, it specifies that the plugin should be applied to files in the src and tests directories.
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
Built Distribution
File details
Details for the file reqstool_python_hatch_plugin-0.0.4.tar.gz
.
File metadata
- Download URL: reqstool_python_hatch_plugin-0.0.4.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b16d3ce23848405a5724523f31f68bc796c0f192441994a423b46676208f807 |
|
MD5 | 33958b34c2fa2f2cf71aacef28e7f0c6 |
|
BLAKE2b-256 | eb4c95db3f717e687a8894abeeaa840d5d18278f6997931f9e2c844b4643c1cd |
File details
Details for the file reqstool_python_hatch_plugin-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: reqstool_python_hatch_plugin-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15af915a9feeb5bb0719fdec95dc981b47000f1eab4e2586e8e6be1af2dad26c |
|
MD5 | e82d0e1b491fffcdc2735fc992100b02 |
|
BLAKE2b-256 | c50b713725d037192273db02c1813c6fda833875b7b85a4eb521db80cb58ab2f |