Skip to content

Commit b69149f

Browse files
author
Andrew Van
committed
🔧 migrate to pyproject.toml
1 parent a5d17ce commit b69149f

2 files changed

Lines changed: 27 additions & 23 deletions

File tree

pyproject.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
1+
[project]
2+
name = "simplebrainviewer"
3+
description = "A simple brain viewer using matplotlib"
4+
readme = "README.md"
5+
requires-python = ">=3.7"
6+
license = { text = "MIT License" }
7+
authors = [{ name = "Andrew Van", email = "vanandrew@wustl.edu" }]
8+
keywords = ["neuroscience", "neuroimaging"]
9+
classifiers = [
10+
"License :: OSI Approved :: MIT License",
11+
"Programming Language :: Python :: 3",
12+
"Programming Language :: C++",
13+
"Topic :: Scientific/Engineering :: Image Processing",
14+
]
15+
version = "0.3.2"
16+
urls = { github = "https://github.com/vanandrew/Simplebrainviewer" }
17+
dynamic = ["entry-points"]
18+
dependencies = ["nibabel >= 3.2.2", "matplotlib >= 3.5.1"]
19+
20+
[project.optional-dependencies]
21+
dev = [
22+
"black >= 21.0",
23+
]
24+
125
[build-system]
226
requires = ["setuptools", "wheel"]
327
build-backend = "setuptools.build_meta"
428

29+
[tool.setuptools]
30+
zip-safe = true
31+
532
[tool.black]
633
line-length = 120
734
target-version = ['py37', 'py38', 'py39', 'py310']

setup.cfg

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
1-
[metadata]
2-
name = simplebrainviewer
3-
author = Andrew Van
4-
author_email = vanandrew@wustl.edu
5-
url= https://github.com/vanandrew/SimpleBrainViewer
6-
version = 0.3.1
7-
license_files = LICENSE
8-
long_description = file: README.md
9-
long_description_content_type = text/markdown
10-
11-
[options]
12-
packages = find:
13-
zip_safe = True
14-
install_requires =
15-
nibabel >= 3.2.2
16-
matplotlib >= 3.5.1
17-
18-
[options.extras_require]
19-
dev =
20-
black >= 20.8b0
21-
all =
22-
%(dev)s
23-
241
[pycodestyle]
252
ignore = E203, W503, E731
263
max-line-length = 120

0 commit comments

Comments
 (0)