Skip to content

Commit e8d9ad5

Browse files
committed
updated location of fileformats packages
1 parent 510bec6 commit e8d9ad5

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ All tasks will be inserted into the `pydra.tasks.<yourtaskpackagename>` namespac
1010
1. Give your repo a name.
1111
1. Once the repo is created and cloned, search for CHANGEME (`grep -rn CHANGEME . `) and
1212
replace with appropriate name.
13-
1. One of the folders is called CHANGEME. This should also be renamed to your package
14-
name.
13+
1. Rename the following folders to replace `CHANGEME` with the name of the package:
14+
* `src/pydra/tasks/CHANGEME`
15+
* `fileformats/fileformats/medimage_CHANGEME`
16+
* `fileformats/fileformats/extras/medimage_CHANGEME`
1517
1. Under the newly renamed package (i.e. formerly CHANGEME) there is a directory named "v1",
1618
`src/pydra/tasks/<package-name>/v1`, change this to valid Python package name starting with
1719
'v' to indicate the version of the tool the Pydra interfaces will be designed for,

fileformats/medimage-CHANGME-extras/pyproject.toml renamed to fileformats-extras/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "fileformats-medimage-CHANGEME-extras"
7-
description = "Classes for representing file formats used exclusively by the Freesurfer tool in Python classes for use in type hinting in data workflows"
7+
description = "Extensions to add functionality to tool-specific *fileformats* classes"
88
readme = "../README.rst"
99
requires-python = ">=3.8"
1010
dependencies = [
1111
"fileformats >= 0.7",
12-
"fileformats-medimage-freesurfer",
12+
"fileformats-medimage-CHANGEME",
1313
"pydra >= 0.22.0"
1414
]
1515
license = {file = "../LICENSE"}
@@ -58,21 +58,21 @@ converters = [
5858
]
5959

6060
[project.urls]
61-
repository = "https://github.com/nipype/pydra-freesurfer"
61+
repository = "https://github.com/nipype/pydra-CHANGEME"
6262

6363
[tool.hatch.version]
6464
source = "vcs"
6565
raw-options = { root = ".." }
6666

6767
[tool.hatch.build.hooks.vcs]
68-
version-file = "fileformats/extras/medimage_freesurfer/_version.py"
68+
version-file = "fileformats/extras/medimage_CHANGEME/_version.py"
6969

7070
[tool.hatch.build.targets.wheel]
7171
packages = ["fileformats"]
7272

7373
[tool.black]
7474
target-version = ['py38']
75-
exclude = "fileformats/extras/medimage_freesurfer/_version.py"
75+
exclude = "fileformats/extras/medimage_CHANGEME/_version.py"
7676

7777
[tool.codespell]
7878
ignore-words = ".codespell-ignorewords"

fileformats/medimage-CHANGEME/pyproject.toml renamed to fileformats/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,25 @@ test = [
5151
"pytest-env>=0.6.2",
5252
"pytest-cov>=2.12.1",
5353
"codecov",
54-
"fileformats-medimage-CHANGME",
54+
"fileformats-medimage-CHANGME-extras",
5555
]
5656

5757
[project.urls]
58-
repository = "https://github.com/nipype/pydra-freesurfer"
58+
repository = "https://github.com/nipype/pydra-CHANGEME"
5959

6060
[tool.hatch.version]
6161
source = "vcs"
6262
raw-options = { root = ".." }
6363

6464
[tool.hatch.build.hooks.vcs]
65-
version-file = "fileformats/medimage_freesurfer/_version.py"
65+
version-file = "fileformats/medimage_CHANGEME/_version.py"
6666

6767
[tool.hatch.build.targets.wheel]
6868
packages = ["fileformats"]
6969

7070
[tool.black]
7171
target-version = ['py38']
72-
exclude = "fileformats/medimage_freesurfer/_version.py"
72+
exclude = "fileformats/medimage_CHANGEME/_version.py"
7373

7474
[tool.codespell]
7575
ignore-words = ".codespell-ignorewords"

0 commit comments

Comments
 (0)