-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1822 from effigies/mnt/pyproject
MNT: Update Python package configuration to use pyproject.toml
- Loading branch information
Showing
5 changed files
with
104 additions
and
2,277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[build-system] | ||
requires = ["setuptools", "versioneer[toml]"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "bids-validator" | ||
dynamic = ["version"] | ||
description = "Validator for the Brain Imaging Data Structure" | ||
readme = "README.md" | ||
license = { text = "MIT License" } | ||
authors = [ | ||
{ name = "PyBIDS developers", email = "bids-discussion@googlegroups.com" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Environment :: Console", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/bids-standard/bids-validator" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["bids_validator*"] | ||
|
||
[tool.setuptools.package-data] | ||
bids_validator = ["*/*.json"] | ||
|
||
[tool.versioneer] | ||
VCS = "git" | ||
style = "pep440" | ||
versionfile_source = "bids_validator/_version.py" | ||
versionfile_build = "bids_validator/_version.py" | ||
tag_prefix = "v" | ||
parentdir_prefix = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,7 @@ | ||
[metadata] | ||
name = bids-validator | ||
url = https://github.com/bids-standard/bids-validator | ||
author = PyBIDS developers | ||
author_email = bids-discussion@googlegroups.com | ||
maintainer = BIDS Developers | ||
maintainer_email = bids-discussion@googlegroups.com | ||
description = Validator for the Brain Imaging Data Structure | ||
long_description = file:README.md | ||
long_description_content_type = text/markdown | ||
license = MIT | ||
python_requires >= 3.8 | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Environment :: Console | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Topic :: Scientific/Engineering | ||
|
||
[options] | ||
packages = find: | ||
|
||
[options.package_data] | ||
bids_validator = | ||
rules/*.json | ||
tsv/*.json | ||
|
||
[bdist_wheel] | ||
universal=1 | ||
|
||
[tool:pytest] | ||
ignore = | ||
versioneer.py | ||
_version.py | ||
|
||
[flake8] | ||
exclude = | ||
versioneer.py | ||
_version.py | ||
|
||
[versioneer] | ||
VCS = git | ||
style = pep440 | ||
versionfile_source = bids_validator/_version.py | ||
versionfile_build = bids_validator/_version.py | ||
tag_prefix = v | ||
parentdir_prefix = |
Oops, something went wrong.