Hatch plugin for conda environments
Project description
hatch-conda
CI/CD | |
Package | |
Meta |
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
- There must be a
conda
executable along yourPATH
. - The
env-exclude
environment variable filter has no effect.
Future
...
License
hatch-conda
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
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
Hashes for hatch_conda-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45f33bba4c29d0f51864b0c2627b3cbcbd9e8f340594a663f7d946a4a80c9700 |
|
MD5 | 6539eb17dff36a3294f2756794b9c360 |
|
BLAKE2b-256 | 0ba0d6c91d479559ef16615a4d2b28c2f5d05f3b3c0c89bad710613641b8fcdb |