Skip to content

Commit

Permalink
add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
szsdk committed Mar 3, 2024
1 parent b35778b commit c73829d
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,22 @@ authors = [{name = "Shen Zhou", email = "[email protected]"}]
description = "This package supplies basic classes about datasets and detectors used in XFEL single pariticle imaging."
license = {text="GPLv3"}
dependencies = [
"h5py",
"numpy >= 1.20.0",
"scipy",
"h5py",
"numpy >= 1.20.0",
"scipy",
"typing_extensions"
]

[project.optional-dependencies]
tests = [
'coverage>=5.0.3',
"pdoc3",
"pytest",
"pytest-cov",
"pytest-html",
"pytest-metadata",
"coverage>=5.0.3",
"psutil",
"pdoc3",
"pytest",
"pytest-cov",
"pytest-html",
"pytest-metadata",
"matplotlib"
]

[tool.setuptools]
Expand Down Expand Up @@ -66,6 +69,11 @@ exclude_lines =[
"return NotImplemented",
]

omit = [
"emcfile/tests/*",
"tutorial/*"
]

[tool.coverage.html]
title = "emcfile Test Coverage Report"
directory = "docs/emcfile/htmlcov"
Expand Down

0 comments on commit c73829d

Please sign in to comment.