Skip to main content

A hatchling plugin to manage Tryton dependencies.

Usage

  1. Include it as a plugin to your pyproject.toml:

    [build-system]
    requires = ['hatchling', 'hatch-tryton']
    build-backend = 'hatchling.build'
  2. Mark your version, dependencies, optional-dependencies, readme and authors fields as dynamic:

    [project]
    dynamic = ['version', 'dependencies', 'optional-dependencies', 'authors', 'readme']
  3. And configure the plugin:

    [tool.hatch.metadata.hooks.tryton]
    # Path to the ``tryton.cfg`` file
    config = 'tryton.cfg'
    
    # Dictionary mapping module names to their package prefixes
    prefixes = {}
    
    # List of dependencies that are not Tryton modules
    dependencies = []
    
    # List of dependencies that are specifically Tryton modules
    tryton_dependencies = []
    
    # Path to the README file
    readme = ''
    
    # Path to the copyright file
    copyright = ''
    
    [tool.hatch.metadata.hooks.tryton.optional-dependencies]
    # Add any optional non-Tryton dependencies here
    
    [tool.hatch.metadata.hooks.tryton.tryton-optional-dependencies]
    # Add any optional Tryton dependencies here

Metadata

Release files for hatch-tryton 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hatch-tryton 0.1.1
File Size Uploaded
hatch_tryton-0.1.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hatch-tryton 0.1.1
File Interpreter ABI Platform
hatch_tryton-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / hatch_tryton-0.1.1.tar.gz

Download URL hatch_tryton-0.1.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d0d71c40a5f20bcd752bef743e7d713c1500490ff3cc0ae2a709eff639e90345
BLAKE2b-256 checksum
How to use checksums
c0cd25876879ba378c99368e93f4cf0cd2112923631ba5ca94b2b593c57c7138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / hatch_tryton-0.1.1-py3-none-any.whl

Download URL hatch_tryton-0.1.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60bd727e204fc2c54c16794a8c080864c3f336f5219b32d99803ee36548bd5fd
BLAKE2b-256 checksum
How to use checksums
e499efd7f1be040b184b9f84f9ea5b0a83e7220875921fd4298acd761e4f5ad9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page