-
Notifications
You must be signed in to change notification settings - Fork 35
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 #98 from Tieqiong/deps
add dynamic dependency in pyproject.toml
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]" }, | ||
] | ||
|
@@ -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?$' | ||
|