Skip to content

Commit f67977d

Browse files
authored
Merge pull request #98 from Tieqiong/deps
add dynamic dependency in pyproject.toml
2 parents 9dc84df + 5d3841b commit f67977d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

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

51+
[tool.setuptools.dynamic]
52+
dependencies = {file = ["requirements/run.txt"]}
53+
5154
[tool.black]
5255
line-length = 115
5356
include = '\.pyi?$'

0 commit comments

Comments
 (0)