-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpyproject.toml
143 lines (132 loc) · 3.34 KB
/
pyproject.toml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[tool.poetry]
name = "bcdi"
version = "0"
keywords = ["BCDI", "Bragg coherent X-ray diffraction imaging"]
description = "BCDI: tools for pre(post)-processing Bragg and forward coherent X-ray diffraction imaging data"
authors = ["Jerome Carnis <[email protected]>"]
maintainers = ["Jerome Carnis <[email protected]>"]
readme = "PyPI.md"
license = "CeCILL-B"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: CeCILL-B Free Software License Agreement (CECILL-B)",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
]
repository = "https://github.com/carnisj/bcdi"
documentation = "https://bcdi.readthedocs.io/en/latest/"
include = [
{ path = "tests", format = "sdist" },
{ path = "scripts", format = ["sdist", "wheel"] },
{ path = ".github", format = "sdist" },
{ path = ".gitignore", format = "sdist" },
{ path = "dodo.py", format = "sdist" },
{ path = ".deepsource.toml", format = "sdist" },
{ path = ".isort.cfg", format = "sdist" },
{ path = "readthedocs.yml", format = "sdist" },
{ path = "mypy.ini", format = "sdist" },
{ path = "diffract.png", format = "sdist" },
{ path = "CITATION.cff", format = "sdist" },
{ path = "doc", format = "sdist" },
{ path = "*.md", format = "sdist" },
{ path = "*.rst", format = "sdist" },
{ path = "*.txt", format = "sdist" },
]
[tool.poetry.scripts]
bcdi_preprocess = 'scripts.preprocessing.bcdi_preprocess:main'
bcdi_strain = 'scripts.postprocessing.bcdi_strain:main'
[tool.poetry-version-plugin]
source = "init"
[tool.poetry.dependencies]
python = ">=3.9, <3.12"
wheel = "0.42.0"
xrayutilities = "1.7.6"
vtk = "9.3.0"
h5py = "3.10.0"
colorcet = "3.0.1"
fabio = "2023.10.0"
hdf5plugin = "4.3.0"
ipywidgets = "8.1.1"
lmfit = "1.2.2"
matplotlib = "3.8.2"
moviepy = "1.0.3"
numpy = "1.26.3"
pandas = "2.1.4"
pillow = "10.3.0"
pyyaml = "6.0.1"
scikit-image = "0.22.0"
scipy = "1.11.4"
silx = "1.1.2"
tables = "3.9.2"
# development dependencies
black = "24.3.0"
coverage = "7.4.0"
doit = "0.36.0"
isort = "5.13.2"
mypy = "1.8.0"
pydocstyle = "6.3.0"
pyfakefs = "5.3.2"
pytest = "7.4.4"
ruff = "0.1.14"
sphinx = "7.2.6"
sphinxcontrib-mermaid = "0.9.2"
twine = "4.0.2"
[tool.poetry.group.pyqt.dependencies]
pyqt5 = "5.15.10"
[tool.poetry.extras]
dev = [
"black",
"coverage",
"pycodestyle",
"pydocstyle",
"pyfakefs",
"pytest",
"ruff",
"sphinx",
"sphinxcontrib-mermaid",
"twine",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
plugins = "numpy.typing.mypy_plugin"
# Per-module options
[[tool.mypy.overrides]]
module = [
"colorcet",
"coverage",
"lmfit",
"mpl_toolkits.*",
"matplotlib.*",
"scipy.*",
"vtk.*",
"h5py",
"PIL",
"skimage.*",
"fabio",
"hdf5plugin",
"xrayutilities",
"silx.*",
"tables",
"ipywidgets",
"pandas",
"pyfakefs",
"yaml",
]
ignore_missing_imports = true
[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
"E", # pycodestyle
"W", # pycodestyle
]