diff --git a/pyproject.toml b/pyproject.toml index fc7eed01..88d88dcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,59 +1,56 @@ [build-system] -requires = [ - "setuptools>=67.6.1, <67.7", - "wheel" - ] -build-backend = "setuptools.build_meta" +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" -[project] +[tool.poetry] name = "bids_prov" authors = [ - {name = "Camille Maumet"}, - {name = "Satrajit Ghosh"}, - {name = "Stefan Appelhoff"}, - {name = "Chris Markiewicz"}, - {name = "Yaroslav Halchenko"}, - {name = "Jean-Baptiste Poline"}, - {name = "Rémi Adon"}, - {name = "Hermann Courteille"}, - {name = "Thomas Betton"}, - {name = "Cyril Regan"}, - {name = "Boris Clénet"} + "Camille Maumet", + "Satrajit Ghosh", + "Stefan Appelhoff", + "Chris Markiewicz", + "Yaroslav Halchenko", + "Jean-Baptiste Poline", + "Rémi Adon", + "Hermann Courteille", + "Thomas Betton", + "Cyril Regan", + "Boris Clénet" ] description = "BIDS extension proposal 28 : BIDS Provenance" version = "0.1.0" readme = "README.md" requires-python = ">=3.10, <3.11" -#keywords = ["one", "two"] -license = {file = "LICENSE"} +license = "CC-BY-4.0" classifiers = [ + "Intended Audience :: Science/Research", "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering", + "Topic :: Scientific/Engineering :: Medical Science Apps." ] -dependencies = [ - "beautifulsoup4>=4.12.3,<4.13", - "boutiques>=0.5.26,<0.6", - "click>=8.1.7,<8.2", - "deepdiff>=7.0.1,<7.1", - "graphviz>=0.20.3,<0.21", - "rdflib>=7.0.0,<7.1", - "rdflib-jsonld>=0.6.2,<0.7", - "prov>=2.0.0,<2.1", - "pydot>=2.0.0,<2.1", - "pyld>=2.0.4,<2.1", - "pyyaml>=6.0.1,<6.1", - "requests>=2.32.3,<2.33" -] +include = ["bids_prov/visualize.py"] +exclude = ["bids_prov*"] -[project.optional-dependencies] -dev = [ - "black", - "markdownify", - "pre-commit", - "pytest-cov" -] +[tool.poetry.dependencies] +python = "^3.10.0" +beautifulsoup4 = "^4.12.3" +boutiques = "^0.5.26" +click = "^8.1.7" +deepdiff = "^7.0.1" +graphviz = "^0.20.3" +rdflib = "^7.0.0" +rdflib-jsonld = "^0.6.2" +prov = "^2.0.0" +pydot = "^2.0.0" +pyld = "^2.0.4" +pyyaml = "^6.0.1" +requests = "^2.32.3" -[project.scripts] -bids_prov_visualizer = 'bids_prov.visualize:main' +[tool.poetry.group.dev.dependencies] +black = "^24.4.2" +markdownify = "^0.12.1" +pre-commit = "^3.7.1" +pytest-cov = "^5.0.0" -[tool.setuptools] -py-modules = ["bids_prov.visualize"] +[tool.poetry.scripts] +bids_prov_visualizer = "bids_prov.visualize:main"