forked from ando-lab/mdx2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 2.25 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (77 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "mdx2"
description = "Macromolecular diffuse scattering data reduction"
dynamic = ["version"]
readme = "README.md"
license = "MIT"
license-files = ["LICEN[CS]E*"]
authors = [
{ email = "spm82@cornell.edu", name = "Steve Meisburger" },
]
requires-python = ">= 3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"numpy",
"pandas",
"scipy",
"dxtbx",
"nexusformat",
"joblib",
"numexpr",
"simple-parsing",
"loguru",
"papermill",
]
# dxtbx needs to be installed with conda
[project.optional-dependencies]
test = ["pytest>=6.0"]
dev = ["ruff>=0.1.0", "pytest>=6.0"]
[project.urls]
Homepage = "https://github.com/ando-lab/mdx2"
Issues = "https://github.com/ando-lab/mdx2/issues"
[project.scripts]
"mdx2.version" = "mdx2.command_line.version:run"
"mdx2.import_data" = "mdx2.command_line.import_data:run"
"mdx2.import_geometry" = "mdx2.command_line.import_geometry:run"
"mdx2.find_peaks" = "mdx2.command_line.find_peaks:run"
"mdx2.mask_peaks" = "mdx2.command_line.mask_peaks:run"
"mdx2.tree" = "mdx2.command_line.tree:run"
"mdx2.bin_image_series" = "mdx2.command_line.bin_image_series:run"
"mdx2.integrate" = "mdx2.command_line.integrate:run"
"mdx2.correct" = "mdx2.command_line.correct:run"
"mdx2.merge" = "mdx2.command_line.merge:run"
"mdx2.map" = "mdx2.command_line.map:run"
"mdx2.scale" = "mdx2.command_line.scale:run"
"mdx2.reintegrate" = "mdx2.command_line.reintegrate:run"
"mdx2.report" = "mdx2.command_line.report:run"
[tool.setuptools.dynamic]
version = {file = "mdx2/VERSION"}
[tool.setuptools.packages.find]
include = ["mdx2", "mdx2.*"]
[tool.setuptools.package-data]
mdx2 = ["report/templates/*.ipynb"]
[tool.setuptools.exclude-package-data]
mdx2 = ["**/_*.ipynb"]
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.format]
quote-style= "double"
indent-style= "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
select = ["E", "F", "W", "A", "PLC", "PLE", "PLW", "I"]
ignore = ["E741", "F541"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]