-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
113 lines (100 loc) · 3.27 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
112
113
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs>=0.3", "setuptools-scm>=7.1"]
[project]
name = "conda-project"
dynamic = ["version"]
description = "Tool for encapsulating, running, and reproducing projects with conda environments"
authors = [
{ name = "Albert DeFusco", email = "[email protected]" },
{ name = "Matt Kramer", email = "[email protected]" },
]
license = {text = "BSD-3-Clause"}
readme = "README.md"
requires-python = ">=3.8"
keywords = [ "conda-project" ]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Archiving :: Packaging",
"Topic :: Utilities",
]
dependencies = [
"conda-lock >=2.5.6",
"lockfile",
"pexpect",
"ruamel.yaml",
"pydantic",
"shellingham",
"python-dotenv",
"fsspec",
"libarchive-c",
"setuptools"
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/conda_project/_version.py"
[tool.hatch.version.raw-options]
version_scheme = "post-release"
[tool.hatch.build.targets.sdist]
include = [
"/src/conda_project",
"/pyproject.toml"
]
[project.optional-dependencies]
docs = [
"sphinx>=5.1.1",
"sphinx-autobuild>=2021.3.14",
"sphinx-autodoc-typehints>=1.19.2",
"myst-parser>=0.18.0",
"conda-sphinx-theme>=0.1.1",
]
[project.scripts]
conda-project = "conda_project.cli.main:main"
[project.urls]
repository = "https://github.com/conda-incubator/conda-project"
homepage = "https://github.com/conda-incubator/conda-project"
documentation = "https://conda-incubator.github.io/conda-project/user_guide.html"
"Issue Tracker" = "https://github.com/conda-incubator/conda-project/issues"
"Conda-Forge Feedstock" = "https://github.com/conda-forge/conda-project-feedstock"
"AnacondaRecipes Feedstock" = "https://github.com/AnacondaRecipes/conda-project-feedstock"
[tool.coverage.report]
omit = [
"conda_project/__main__.py",
"tests/*",
"scripts/*"
]
exclude_lines = [
"pragma: no cover",
# This covers both typing.TYPE_CHECKING and plain TYPE_CHECKING, with any amount of whitespace
"if\\s+(typing\\.)?TYPE_CHECKING:",
'if __name__ == "__main__":'
]
[tool.distutils.bdist_wheel]
universal = true
[tool.isort]
profile = "black"
[tool.mypy]
files = [ "src/conda_project/**/*.py" ]
python_version = "3.8"
disallow_untyped_defs = true
warn_no_return = true
[tool.pytest.ini_options]
norecursedirs = [".*", "*.egg*", "build", "dist", "conda.recipe", "examples", "env", "scripts"]
addopts = "-vv --cov-report term-missing --cov conda_project --tb native --strict-markers --durations=20"
markers = [
"serial: execute test serially (to avoid race conditions)",
"slow: tests can take a long time (deselect with '-m \"not slow\"')",
]