Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Oct 10, 2024
1 parent 29f5059 commit 91e6222
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions tools/schemacode/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]

[project]
authors = [{name = "bids-standard developers"}]
Expand All @@ -21,12 +21,12 @@ dependencies = [
"jsonschema"
]
description = " Python tools for working with the BIDS schema."
dynamic = ["version"]
license = {text = "MIT"}
maintainers = [{name = "bids-standard developers", email = " [email protected]"}]
name = "bidsschematools"
readme = "README.md"
requires-python = ">=3.9"
version = "0.11.4-dev" # file:bidsschematools/data/schema/SCHEMA_VERSION

[project.optional-dependencies]
all = [
Expand Down Expand Up @@ -84,17 +84,6 @@ omit = [
]
parallel = true

[tool.hatch.build.targets.sdist]
include = [
"bidsschematools/**/*.py",
"bidsschematools/data/metaschema.json",
"bidsschematools/data/schema/BIDS_VERSION",
"bidsschematools/data/schema/SCHEMA_VERSION",
"bidsschematools/data/schema/**/*.yaml",
"bidsschematools/tests/data/**/*",
"bidsschematools/tests/data/**/.bidsignore"
]

[tool.isort]
multi_line_output = 3
profile = "black"
Expand All @@ -108,3 +97,19 @@ markers = [
]
minversion = "6.0"
xfail_strict = true

[tool.setuptools.dynamic]
version = {file = "bidsschematools/data/schema/SCHEMA_VERSION"}

[tool.setuptools.package-data]
bidsschematools = [
"data/metaschema.json",
"data/schema/BIDS_VERSION",
"data/schema/SCHEMA_VERSIO",
"data/schema/**/*.yaml",
"tests/data/**/*",
"tests/data/**/.bidsignore"
]

[tool.setuptools.packages.find]
where = ["bidsschematools"]

0 comments on commit 91e6222

Please sign in to comment.