Skip to content

Commit 96afcfd

Browse files
authored
Merge pull request #8 from mnoergaard/update-project-name-and-paths-to-petprep
Update pyproject for petprep
2 parents 9a147d9 + 22a941f commit 96afcfd

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

pyproject.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling", "hatch-vcs", "nipreps-versions"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "fmriprep"
6+
name = "petprep"
77
description = "A robust and easy-to-use pipeline for preprocessing of diverse fMRI data"
88
readme = "long_description.rst"
99
authors = [{name = "The NiPreps Developers", email = "[email protected]"}]
@@ -45,10 +45,10 @@ dependencies = [
4545
dynamic = ["version"]
4646

4747
[project.urls]
48-
Homepage = "https://github.com/nipreps/fmriprep"
49-
Documentation = "https://fmriprep.org"
48+
Homepage = "https://github.com/nipreps/petprep"
49+
Documentation = "https://petprep.org"
5050
Paper = "https://doi.org/10.1038/s41592-018-0235-4"
51-
"Docker Images" = "https://hub.docker.com/r/nipreps/fmriprep/tags/"
51+
"Docker Images" = "https://hub.docker.com/r/nipreps/petprep/tags/"
5252
NiPreps = "https://www.nipreps.org/"
5353

5454
[project.optional-dependencies]
@@ -65,7 +65,7 @@ dev = [
6565
duecredit = ["duecredit"]
6666
resmon = []
6767
container = [
68-
"fmriprep[telemetry]",
68+
"petprep[telemetry]",
6969
# templateflow extras
7070
"datalad",
7171
"datalad-osf",
@@ -86,12 +86,12 @@ maint = [
8686
"python-Levenshtein",
8787
]
8888
# Aliases
89-
docs = ["fmriprep[doc]"]
90-
tests = ["fmriprep[test]"]
91-
all = ["fmriprep[doc,maint,telemetry,test]"]
89+
docs = ["petprep[doc]"]
90+
tests = ["petprep[test]"]
91+
all = ["petprep[doc,maint,telemetry,test]"]
9292

9393
[project.scripts]
94-
fmriprep = "fmriprep.cli.run:main"
94+
petprep = "petprep.cli.run:main"
9595

9696
#
9797
# Hatch configurations
@@ -104,9 +104,9 @@ allow-direct-references = true
104104
exclude = [".git_archival.txt"] # No longer needed in sdist
105105

106106
[tool.hatch.build.targets.wheel]
107-
packages = ["fmriprep"]
107+
packages = ["petprep"]
108108
exclude = [
109-
"fmriprep/data/tests/work", # Large test data directory
109+
"petprep/data/tests/work", # Large test data directory
110110
]
111111

112112
## The following two sections configure setuptools_scm in the hatch way
@@ -116,7 +116,7 @@ source = "vcs"
116116
raw-options = { version_scheme = "nipreps-calver" }
117117

118118
[tool.hatch.build.hooks.vcs]
119-
version-file = "fmriprep/_version.py"
119+
version-file = "petprep/_version.py"
120120

121121
#
122122
# Developer tool configurations
@@ -128,7 +128,7 @@ exclude = ".*"
128128

129129
[tool.pytest.ini_options]
130130
minversion = "6"
131-
testpaths = ["fmriprep"]
131+
testpaths = ["petprep"]
132132
log_cli_level = "INFO"
133133
xfail_strict = true
134134
norecursedirs = [".git"]
@@ -139,7 +139,7 @@ addopts = [
139139
"--strict-markers",
140140
"--doctest-modules",
141141
# Config pytest-cov
142-
"--cov=fmriprep",
142+
"--cov=petprep",
143143
"--cov-report=xml",
144144
"--cov-config=pyproject.toml",
145145
]
@@ -185,7 +185,7 @@ inline-quotes = "single"
185185

186186
[tool.ruff.lint.extend-per-file-ignores]
187187
"*/test_*.py" = ["S101"]
188-
"fmriprep/utils/debug.py" = ["A002", "T100"]
188+
"petprep/utils/debug.py" = ["A002", "T100"]
189189
"docs/conf.py" = ["A001"]
190190
"docs/sphinxext/github_link.py" = ["BLE001"]
191191

@@ -200,6 +200,6 @@ omit = [
200200

201201
[tool.coverage.paths]
202202
source = [
203-
"fmriprep",
204-
"**/site-packages/fmriprep"
203+
"petprep",
204+
"**/site-packages/petprep"
205205
]

0 commit comments

Comments
 (0)