Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (106 loc) · 2.99 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (106 loc) · 2.99 KB
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
114
115
116
117
118
119
120
121
122
123
[project]
name = "fathomnet"
version = "1.11.0"
description = "fathomnet-py is a client-side API to help scientists, researchers, and developers interact with FathomNet data."
license = "MIT"
authors = [
{ name = "Kevin Barnard", email = "kbarnard@mbari.org" }
]
maintainers = [
{ name = "Kevin Barnard", email = "kbarnard@mbari.org" }
]
requires-python = ">= 3.8.1"
dependencies = [
"requests>=2.20.0",
"lxml>=4.6.0",
"coco-lib>=0.1.2",
"progressbar2>=3.37.0",
"pyyaml>=6.0.1",
"pydantic>=2.10.6",
]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
[project.optional-dependencies]
models = [
"appdirs>=1.4.4",
"torch>=2.4.0",
"opencv-python>=4.10.0.84",
"pillow>=10.4.0",
"torchvision>=0.19.0",
"ultralytics>=8.2.79",
]
[project.scripts]
fathomnet-generate = "fathomnet.scripts.fathomnet_generate:main"
[project.urls]
Homepage = "https://database.fathomnet.org/fathomnet/#/about"
Documentation = "https://fathomnet-py.readthedocs.io"
Repository = "https://github.com/fathomnet/fathomnet-py.git"
Issues = "https://github.com/fathomnet/fathomnet-py/issues"
Changelog = "https://github.com/fathomnet/fathomnet-py/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pre-commit>=3.5.0",
"pytest>=8.3.4",
"ruff>=0.9.7",
"sphinx-rtd-theme>=3.0.2",
]
[tool.semantic_release]
assets = []
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
major_on_zero = true
tag_format = "v{version}"
version_toml = [
"pyproject.toml:project.version",
]
[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease_token = "rc"
prerelease = false
[tool.semantic_release.changelog]
template_dir = "templates"
changelog_file = "CHANGELOG.md"
exclude_commit_patterns = []
[tool.semantic_release.changelog.environment]
block_start_string = "{%"
block_end_string = "%}"
variable_start_string = "{{"
variable_end_string = "}}"
comment_start_string = "{#"
comment_end_string = "#}"
trim_blocks = false
lstrip_blocks = false
newline_sequence = "\n"
keep_trailing_newline = false
extensions = []
autoescape = true
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = false
[tool.semantic_release.remote.token]
env = "GH_TOKEN"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/fathomnet"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
addopts = "--verbose"
pythonpath = "src"