-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (118 loc) · 3.22 KB
/
pyproject.toml
File metadata and controls
140 lines (118 loc) · 3.22 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pubget"
dynamic = ["version"]
description = "Download neuroimaging articles and extract text and stereotactic coordinates."
readme = "README.md"
requires-python = ">=3.10"
license-files = ["COPYING"]
authors = [
{name = "Jérôme Dockès", email = "jerome@dockes.org"},
{name = "Alejandro de la Vega", email = "delavega@utexas.edu"}
]
keywords = ["neuroimaging", "meta-analysis", "text-mining"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"joblib (>=1.1.1)",
"lxml",
"neuroquery",
"numpy (>=1.23.5)",
"pandas (>=1.5.3)",
"requests",
"scikit-learn (>=1.2.1)",
"scipy (>=1.9.3)",
]
[project.urls]
Documentation = "https://neuroquery.github.io/pubget/"
"Source code" = "https://github.com/neuroquery/pubget"
[project.optional-dependencies]
dev = [
"coverage",
"flake8",
"mypy",
"pdoc",
"pylint",
"pytest",
"pytest-cov",
"types-requests",
"black",
"isort",
]
nimare = [
"nimare",
]
[tool.hatch.version]
path = "src/pubget/_data/VERSION"
pattern = "^(?P<version>.*)$"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
warn_unreachable = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["joblib.*", "sklearn.*", "lxml.*", "scipy.*", "pandas.*", "neuroquery.*", "nimare.*", "nibabel.*", "nilearn.*"]
ignore_missing_imports = true
[tool.black]
line-length = 79
extend-exclude = '/(_data|data)/'
[tool.isort]
profile = "black"
extend_skip = ["data", "_data"]
skip_gitignore = true
line_length = 79
[project.scripts]
pubget = "pubget._commands:pubget_command"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
[tool.pixi.dependencies]
joblib = ">=1.1.1"
lxml = "*"
numpy = ">=1.23.5"
pandas = ">=1.5.3"
requests = "*"
scikit-learn = ">=1.2.1"
scipy = ">=1.9.3"
[tool.pixi.pypi-dependencies]
pubget = { path = ".", editable = true }
[tool.pixi.feature.test.dependencies]
pytest = "*"
pytest-cov = "*"
coverage = "*"
[tool.pixi.feature.test.tasks]
test = { cmd = "pytest -vsl --cov=pubget tests" }
[tool.pixi.feature.plugin.pypi-dependencies]
pubget_example_plugin = { path = "docs/example_plugin" }
[tool.pixi.feature.plugin.tasks]
run_plugin = { cmd = "python docs/example_plugin/tests/run_plugin.py" }
[tool.pixi.feature.min-dependencies.dependencies]
joblib = "==1.1.1"
lxml = "*"
numpy = "==1.23.5"
pandas = "==1.5.3"
requests = "*"
scikit-learn = "==1.2.1"
scipy = "==1.9.3"
[tool.pixi.feature.optional-dependencies.pypi-dependencies]
# TODO fix version conflicts
# nimare = "*"
[tool.pixi.feature.py310.dependencies]
python = "~=3.10.0"
[tool.pixi.feature.py311.dependencies]
python = "~=3.11.0"
[tool.pixi.feature.py313.dependencies]
python = "~=3.13.0"
[tool.pixi.environments]
py310-min-deps = ["py310", "min-dependencies", "test"]
py311-optional-deps = ["py311", "optional-dependencies", "test"]
py313-latest-deps = ["py313", "test"]
plugin = ["py313", "plugin"]