forked from luciorq/wsianon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (136 loc) · 4.07 KB
/
pyproject.toml
File metadata and controls
154 lines (136 loc) · 4.07 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[project]
name = "wsianon"
dynamic = [ "version" ]
description = "Whole Slide Imaging Anonymization Library"
authors = [
{ name = "luciorq", email = "luciorqueiroz@gmail.com" },
{ name = "EMPAIA" },
]
maintainers = [
{ name = "luciorq", email = "luciorqueiroz@gmail.com" },
]
readme = { file = "README.md", content-type = "text/markdown" }
license = "MIT"
license-files = [
"LICENSE.txt",
"include/LICENSE.txt",
]
keywords = [
"digital pathology",
"pathology",
"whole slide imaging",
"anonymization",
"de-identification",
]
classifiers = [
# "Development Status :: 4 - Beta",A
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
# "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",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
# TODO: @luciorq newer setuptools complains about license classifiers
# + setuptools.errors.InvalidConfigError: License classifiers have been superseded by license expressions (see https://peps.python.org/pep-0639/). Please remove:
# "License :: OSI Approved :: MIT License",
]
# Follow Spec 0?
# requires-python = ">=3.8"
requires-python = ">=3.10"
dependencies = []
[project.optional-dependencies]
cli = [
"rich",
"click",
]
[dependency-groups]
examples = [
"jupyter",
]
docs = [
"mkdocs-material",
]
tests = [
"pytest",
"openslide-python",
"openslide-bin",
"tiffslide",
]
lint = [
"ruff",
"rumdl",
]
[project.scripts]
wsianon = "wsianon.wsianon:main"
[project.urls]
homepage = "https://github.com/luciorq/wsianon#readme"
source = "https://github.com/luciorq/wsianon"
download = "https://github.com/luciorq/wsianon/releases"
# changelog = "https://github.com/luciorq/wsianon/blob/main/CHANGELOG.md"
# releasenotes = "https://github.com/luciorq/wsianon/releases"
documentation = "https://github.com/luciorq/wsianon#readme"
issues = "https://github.com/luciorq/wsianon/issues"
# funding = ""
# ============== END of project table ========================
[build-system]
requires = [
"setuptools>=80",
"setuptools-scm>=8"
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
ext-modules = [
{ name = "wsianon.libwsianon", sources = [
"include/aperio-flavor-io.c",
"include/b64.c",
"include/buf.c",
"include/conf.c",
# "include/console-app.c",
"include/enc.c",
"include/hamamatsu-io.c",
"include/huff.c",
"include/ini-parser.c",
"include/isyntax-io.c",
# "include/js-file.c",
"include/mirax-io.c",
"include/native-file.c",
"include/philips-based-io.c",
"include/philips-tiff-io.c",
"include/tiff-based-io.c",
"include/utils.c",
"include/ventana-io.c",
# "include/wsi-anonymizer-wasm.c",
"include/wsi-anonymizer.c"
], language = "c" }
]
[tool.setuptools_scm]
version_file = "src/wsianon/__about__.py"
[tool.pytest.ini_options]
addopts = "--doctest-modules"
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-arm64", "osx-64"]
[tool.pixi.dependencies]
pip = ">=25.2,<26"
[tool.pixi.pypi-dependencies]
wsianon = { path = ".", editable = true }
# wsianon = { path = ".", editable = true, extras = ["cli"] }
[tool.pixi.environments]
default = { solve-group = "default" }
cli = { features = ["cli"], solve-group = "default" }
docs = { features = ["docs"], solve-group = "default" }
examples = { features = ["examples"], solve-group = "default" }
tests = { features = ["tests"], solve-group = "default" }
lint = { features = ["lint"], solve-group = "default" }
[tool.pixi.tasks]