Skip to content

Commit 8f1bc30

Browse files
committed
Switch from setup.py to pyproject.toml
1 parent b7a07cc commit 8f1bc30

File tree

2 files changed

+63
-78
lines changed

2 files changed

+63
-78
lines changed

pyproject.toml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=67.6.1",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"
7+
8+
[project]
9+
name = "narps_open"
10+
authors = []
11+
description = "The NARPS open pipelines project: a codebase reproducing the 70 pipelines of the NARPS study (Botvinik-Nezer et al., 2020)."
12+
readme = "README.md"
13+
requires-python = ">=3.8"
14+
license = {text = "MIT"}
15+
classifiers = [
16+
"Programming Language :: Python",
17+
"Programming Language :: Python :: 3",
18+
"Programming Language :: Python :: 3.8"
19+
]
20+
dependencies = [
21+
"importlib_resources>=5.10.2",
22+
"tomli>=2.0.1",
23+
"networkx>=2.0", # a workaround to nipype's bug (issue 3530)
24+
"nipype>=1.8.6",
25+
"pandas>=1.5.2",
26+
"niflow-nipype1-workflows>=0.0.5"
27+
]
28+
version = "0.1.0"
29+
30+
[project.urls]
31+
Homepage = "https://github.com/Inria-Empenn/narps_open_pipelines"
32+
Documentation = "https://github.com/Inria-Empenn/narps_open_pipelines/tree/main/docs"
33+
Repository = "https://github.com/Inria-Empenn/narps_open_pipelines"
34+
Issues = "https://github.com/Inria-Empenn/narps_open_pipelines/issues"
35+
36+
[project.optional-dependencies]
37+
tests = [
38+
"pathvalidate>=3.2.0",
39+
"pylint>=3.0.3",
40+
"pytest>=7.2.0",
41+
"pytest-cov>=2.10.1",
42+
"pytest-helpers-namespace>=2021.12.29",
43+
"pytest-mock>=3.12.0",
44+
"checksumdir>=1.2.0"
45+
]
46+
47+
[project.scripts]
48+
narps_open_runner = "narps_open.runner:main"
49+
narps_open_tester = "narps_open.tester:main"
50+
narps_open_status = "narps_open.utils.status:main"
51+
narps_open_correlations = "narps_open.utils.correlation.__main__:main"
52+
narps_description = "narps_open.data.description.__main__:main"
53+
narps_results = "narps_open.data.results.__main__:main"
54+
55+
[tool.setuptools]
56+
include-package-data = true
57+
58+
[tool.setuptools.packages.find]
59+
exclude = ["tests", "examples"]
60+
61+
[tool.setuptools.package-data]
62+
"narps_open.utils.configuration" = ["narps_open/utils/configuration/*.toml"]
63+
"narps_open.data.description" = ["narps_open/data/description/*.tsv"]

setup.py

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)