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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hatch_tryton-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hatch_tryton-0.1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file hatch_tryton-0.1.1.tar.gz.

File metadata

  • Download URL: hatch_tryton-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for hatch_tryton-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d0d71c40a5f20bcd752bef743e7d713c1500490ff3cc0ae2a709eff639e90345
MD5 41a6c84cfc8dbb2a35c8c3f5a7b631a8
BLAKE2b-256 c0cd25876879ba378c99368e93f4cf0cd2112923631ba5ca94b2b593c57c7138

See more details on using hashes here.

File details

Details for the file hatch_tryton-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hatch_tryton-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for hatch_tryton-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60bd727e204fc2c54c16794a8c080864c3f336f5219b32d99803ee36548bd5fd
MD5 201782cc795bf8d55c278b4f4ed66dbc
BLAKE2b-256 e499efd7f1be040b184b9f84f9ea5b0a83e7220875921fd4298acd761e4f5ad9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page