Skip to main content

Hatch plugin for conda environments

Project description

hatch-conda

CI/CD CI - Test CD - Build
Package PyPI - Version PyPI - Python Version
Meta code style - black types - Mypy imports - isort License - MIT

This provides a plugin for Hatch that allows the use of conda environments.

This project is a copied and modified version of the hatch-containers plugin by Ofek Lev.

Table of Contents

Installation

pip install hatch-conda

Configuration

The environment plugin name is conda.

  • pyproject.toml

    [tool.hatch.envs.<ENV_NAME>]
    type = "conda"
    
  • hatch.toml

    [envs.<ENV_NAME>]
    type = "conda"
    

Python

If the Python version is set to a multi-character integer like 310 then it will be interpreted as its <MAJOR>.<MINOR> form e.g. 3.10.

If not set, then the <MAJOR>.<MINOR> version of the first python found along your PATH will be used, defaulting to the Python executable Hatch is running on.

Notes

Future

...

License

hatch-conda is distributed under the terms of the MIT license.

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

hatch_conda-0.1.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

hatch_conda-0.1.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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