Skip to main content

conda-build using pyproject.toml

Project description

hatch-conda-build

Conda package builder for Hatch. Hatch is modern, extensible Python project manager.

Usage

Add hatch-conda-build within the build-system.requires field in your pyproject.toml file.

[build-system]
requires = ["hatchling", "hatch-conda-build"]
build-backend = "hatchling.build"

Additionally conda-build must be in your current path when running a hatch build.

Options

Additional builder configuration can be set in the following toml header.

[tool.hatch.build.targets.conda]
...

Following table contains available customization of builder behavior.

Option Type Default Description
channels list[str] ['conda-forge'] Channels used for package build and testing
default_numpy_version str "1.22" Default numpy version for build

Building Conda Package

The builder plugin name is called conda.

To start build process, run hatch build -t conda:

$ hatch build -t conda
[conda]
...

License

Plugin hatch-conda-build 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_build-0.0.8.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

hatch_conda_build-0.0.8-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file hatch_conda_build-0.0.8.tar.gz.

File metadata

  • Download URL: hatch_conda_build-0.0.8.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for hatch_conda_build-0.0.8.tar.gz
Algorithm Hash digest
SHA256 47ef4b541cbc83de2a6b8d3aa69211b0d6201eacf9fa6de66e8c3fecf21d6b64
MD5 273b4a6bff2186a614132f3cd319ce56
BLAKE2b-256 59970610303bfea6b665a583fd6a7975ea38bed0cb660cacbcf6b28545c579ff

See more details on using hashes here.

File details

Details for the file hatch_conda_build-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_conda_build-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2b358825bcb7dcfd89942e9db1f5dce47c67d1e9e73d79382b01fc613d155897
MD5 ec60f90caf593aaf7713515b62cad62b
BLAKE2b-256 caaf79695eff54a29d6900dfca1da4b9e4daf0dc8f663c0a8fc893b0d8e08e9a

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