Skip to content

Commit

Permalink
Merge pull request #98 from Tieqiong/deps
Browse files Browse the repository at this point in the history
add dynamic dependency in pyproject.toml
  • Loading branch information
sbillinge authored Sep 3, 2024
2 parents 9dc84df + 5d3841b commit f67977d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "diffpy.structure"
dynamic=['version']
dynamic=['version', 'dependencies']
authors = [
{ name="Simon J.L. Billinge group", email="[email protected]" },
]
Expand Down Expand Up @@ -48,6 +48,9 @@ include = ["*"] # package names should match these glob patterns (["*"] by defa
exclude = ["diffpy.structure.tests*"] # exclude packages matching these glob patterns (empty by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)

[tool.setuptools.dynamic]
dependencies = {file = ["requirements/run.txt"]}

[tool.black]
line-length = 115
include = '\.pyi?$'
Expand Down

0 comments on commit f67977d

Please sign in to comment.