Skip to main content

Hatch plugin to process reqstool-python-decorators when building with Hatch

Project description

Commit Activity GitHub Issues License Build Static Badge

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.tomlas follows;

[tool.hatch.build.targets.wheel.hooks.decorators]
dependencies = ["reqstool-hatch-plugin == <version>"]
path = ["src","tests"]

It specifies that the reqstool-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

reqstool_python_hatch_plugin-0.0.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file reqstool_python_hatch_plugin-0.0.1.tar.gz.

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6f688419e8a7d18487cc207df4319fed7d935f8f8db71c85a07a9a531a1b78b3
MD5 a6cac00777687e7494753f2017a82e39
BLAKE2b-256 b1bd7de24018b52948988713fc2bca676d72fcfd09937990665012e94914e9e2

See more details on using hashes here.

File details

Details for the file reqstool_python_hatch_plugin-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3fd819a6ebf7282bf21d970621737320fea4af2cba7ed9121b7fe8d87ddf27f
MD5 bca0eb155953ed4836175348da61d88e
BLAKE2b-256 551ec4b7ef21ba80ee5f8cb35894ab5270e8f3697ef07608277ae07d9fd66d6e

See more details on using hashes here.

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