-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
111 lines (92 loc) · 2.59 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "conda-subchannel"
description = "Create subsets of conda channels thanks to CEP-15 metadata."
readme = "README.md"
authors = [
{name = "Jaime Rodríguez-Guerra", email = "[email protected]"}
]
license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy"
]
requires-python = ">=3.8"
dependencies = [
"conda >=23.9",
"zstandard",
]
dynamic = [
"version"
]
[project.urls]
homepage = "https://github.com/jaimergp/conda-subchannel"
[project.entry-points.conda]
conda-subchannel = "conda_subchannel.plugin"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]
[tool.pixi.dependencies]
python = ">=3.8"
pip = "*"
conda = ">=23.9"
zstandard = "*"
jinja2 = "*"
[tool.pixi.tasks]
dev = 'python -mpip install -e .'
[tool.pixi.feature.build]
dependencies = { conda-build = "*" }
tasks = { build = "conda build recipe" }
[tool.pixi.feature.docs.tasks]
docs = { cmd = "sphinx-build -M dirhtml . _build", cwd = "docs" }
serve = { cmd = "python -m http.server", cwd = "docs/_build/dirhtml" }
clean = { cmd = "rm -rf _build", cwd = "docs" }
[tool.pixi.feature.docs.dependencies]
python = "3.10.*"
conda-sphinx-theme = "*"
linkify-it-py = "*"
myst-parser = "*"
sphinx = "*"
sphinx-copybutton = "*"
sphinx-design = "*"
sphinx-reredirects = "*"
sphinx-sitemap = "*"
[tool.pixi.feature.test.tasks]
dev = 'python -mpip install -e .'
test = 'python -mpytest -vvv'
pre-commit = 'pre-commit'
[tool.pixi.feature.test.dependencies]
pytest = "7.4.3.*"
pre-commit = "*"
[tool.pixi.feature.py38.dependencies]
python = "3.8.*"
[tool.pixi.feature.py39.dependencies]
python = "3.9.*"
[tool.pixi.feature.py310.dependencies]
python = "3.10.*"
[tool.pixi.feature.py311.dependencies]
python = "3.11.*"
[tool.pixi.feature.py312.dependencies]
python = "3.12.*"
[tool.pixi.environments]
build = ["build"]
docs = ["docs"]
test-py38 = ["test", "py38"]
test-py39 = ["test", "py39"]
test-py310 = ["test", "py310"]
test-py311 = ["test", "py311"]
test-py312 = ["test", "py312"]
[tool.hatch.version]
source = "vcs"
[tool.ruff]
line-length = 99