-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
57 lines (48 loc) · 1.01 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[project]
name = "hatch-conda-build"
description = "A Hatch plugin to enable building a conda package from your pyproject.toml without having to write a separate conda build recipe meta.yaml file"
dynamic = ["version"]
requires-python = ">=3.8"
readme = "README.md"
dependencies = [
"grayskull",
"hatchling",
"ruamel.yaml",
]
[build-system]
requires = ["hatchling", "hatch-vcs>=0.3", "setuptools-scm>=7.1"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/hatch_conda_build/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"src/hatch_conda_build",
"/pyproject.toml",
"/LICENSE",
"/README.md",
"/tests",
]
[project.entry-points.hatch]
conda = "hatch_conda_build.hooks"
[project.optional-dependencies]
dev = [
"build",
"ruff",
"black",
"pytest",
"pytest-cov"
]
[tool.hatch.envs.test]
features = [
"dev"
]
[tool.hatch.envs.test.scripts]
check = [
"black --check --diff .",
"ruff check .",
]
format = [
"black .",
]