|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "petdeface" |
3 | 3 | version = "0.3.0" |
4 | 4 | description = "A nipype PET and MR defacing pipeline for BIDS datasets utilizing FreeSurfer's MiDeFace." |
5 | | -authors = [ "Martin Nørgaard <[email protected]>", "Anthony Galassi <[email protected]>", "Murat Bilgel <[email protected]>"] |
6 | | -license = "MIT" |
| 5 | +authors = [ |
| 6 | + { name = "Martin Nørgaard", email = "[email protected]"}, |
| 7 | + { name = "Anthony Galassi", email = "[email protected]"}, |
| 8 | + { name = "Murat Bilgel", email = "[email protected]"} |
| 9 | +] |
| 10 | +license = {text = "MIT"} |
7 | 11 | readme = "README.md" |
8 | | -include = [ |
9 | | - "petdeface/*", |
10 | | - "pyproject.toml", |
11 | | - "data/sub-01/ses-baseline/anat/sub-01_ses-baseline_T1w.nii.gz", |
12 | | - "data/sub-01/ses-baseline/anat/sub-01_ses-baseline_T1w.json", |
13 | | - "data/sub-mni305/anat/sub-mni305_T1w.nii.gz", |
14 | | - "data/sub-mni305/anat/sub-mni305_T1w.json", |
| 12 | +requires-python = ">=3.10" |
| 13 | +dependencies = [ |
| 14 | + "setuptools>=68.1.2", |
| 15 | + "petutils>=0.0.1", |
| 16 | + "niworkflows>=1.11.0", |
| 17 | + "matplotlib>=3.10.1", |
| 18 | + "niftifixer @ git+https://github.com/openneuropet/nifti_fixer.git", |
| 19 | + "bids-validator-deno>=2.0.5", |
| 20 | + "nipreps>=1.0", |
| 21 | + "nireports>=25.2.0", |
| 22 | + "nibabel>=5.3.2", |
| 23 | + "nilearn>=0.10.4", |
| 24 | + "numpy>=2.1.3", |
| 25 | + "scipy>=1.14.1", |
| 26 | + "seaborn>=0.13.2", |
| 27 | + "pillow>=11.0.0", |
| 28 | + "imageio>=2.36.0", |
| 29 | +] |
| 30 | + |
| 31 | +[project.optional-dependencies] |
| 32 | +dev = [ |
| 33 | + "black>=23.7.0", |
| 34 | + "flake8>=6.1.0", |
| 35 | + "isort>=5.12.0", |
| 36 | + "pre-commit>=3.3.3", |
| 37 | + "pytest>=7.4.2", |
| 38 | + "sphinx>=7.2.6", |
| 39 | + "sphinx-rtd-theme>=3.0.1", |
| 40 | + "jupyterlab>=4.4.1", |
| 41 | + "notebook>=7.4.1", |
| 42 | + "nbconvert>=7.16.6", |
| 43 | + "ipywidgets>=8.1.6", |
| 44 | + "matplotlib>=3.10.1", |
| 45 | + "pandas>=2.2.3", |
| 46 | + "pyqt6>=6.9.0", |
15 | 47 | ] |
16 | 48 |
|
| 49 | +[project.scripts] |
| 50 | +petdeface = "petdeface.petdeface:main" |
| 51 | + |
17 | 52 | # please update the bids version to the latest compliant version when making modifications to this code here |
18 | 53 | [tool.bids] |
19 | 54 | bids_version = "1.8.0" |
20 | 55 |
|
21 | | -[tool.poetry.dependencies] |
22 | | -python = ">=3.10, <4.0" |
23 | | -setuptools = "^68.1.2" |
24 | | -petutils = "^0.0.1" |
25 | | -niworkflows = "^1.11.0" |
26 | | -matplotlib = "^3.10.1" |
27 | | -niftifixer = {git = "https://github.com/openneuropet/nifti_fixer.git"} |
28 | | -bids-validator-deno = "^2.0.5" |
29 | | -nipreps = "^1.0" |
30 | | -nireports = "^25.2.0" |
31 | | -nibabel = "^5.3.2" |
32 | | -nilearn = "^0.10.4" |
33 | | -numpy = "^2.1.3" |
34 | | -scipy = "^1.14.1" |
35 | | -seaborn = "^0.13.2" |
36 | | -pillow = "^11.0.0" |
37 | | -imageio = "^2.36.0" |
38 | | - |
39 | | - |
40 | | -[tool.poetry.group.dev.dependencies] |
41 | | -black = "^23.7.0" |
42 | | -flake8 = "^6.1.0" |
43 | | -isort = "^5.12.0" |
44 | | -pre-commit = "^3.3.3" |
45 | | -pytest = "^7.4.2" |
46 | | -sphinx = "^7.2.6" |
47 | | -sphinx-rtd-theme = "^3.0.1" |
48 | | -jupyterlab = "^4.4.1" |
49 | | -notebook = "^7.4.1" |
50 | | -nbconvert = "^7.16.6" |
51 | | -ipywidgets = "^8.1.6" |
52 | | -matplotlib = "^3.10.1" |
53 | | -pandas = "^2.2.3" |
54 | | -pyqt6 = "^6.9.0" |
55 | | - |
56 | 56 | [tool.isort] |
57 | 57 | profile = "black" |
58 | 58 | force_single_line = true |
59 | 59 | lines_after_imports = 2 |
60 | 60 |
|
61 | 61 | [build-system] |
62 | | -requires = ["poetry-core", "setuptools>=61.0"] |
63 | | -build-backend = "poetry.core.masonry.api" |
| 62 | +requires = ["hatchling"] |
| 63 | +build-backend = "hatchling.build" |
| 64 | + |
| 65 | +[tool.hatch.metadata] |
| 66 | +allow-direct-references = true |
64 | 67 |
|
65 | 68 | [tool.setuptools] |
66 | 69 | package-data = { "petdeface" = [ "data/sub-01/ses-baseline/anat/*.nii", "data/sub-01/ses-baseline/anat/*.json", "data/sub-mni305/anat/sub-mni305_T1w.nii.gz", "data/sub-mni305/anat/sub-mni305_T1w.json"]} |
67 | | - |
68 | | -[tool.poetry.scripts] |
69 | | -petdeface = 'petdeface.petdeface:main' |
0 commit comments