-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (80 loc) · 2.6 KB
/
pyproject.toml
File metadata and controls
93 lines (80 loc) · 2.6 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
90
91
92
93
[project]
name = 'orGUI'
dynamic = ['version',]
license = "MIT"
requires-python = '>=3.8'
readme = 'README.rst'
description = 'orGUI: Orientation and Integration with 2D detectors'
authors = [
{ name = 'Timo Fuchs', email = 'tfuchs@cornell.edu' }
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules'
]
dependencies = [
'numpy >= 1.16',
'scipy >= 1.0',
'matplotlib >= 3.6',
'fabio >= 0.7',
'silx >= 1.1',
'pyFAI >= 2023.3,!=2025.12.0,!=2025.12.1,!=2026.2.0',
'xraydb >= 4.0',
'pytz >= 2022'
]
[project.optional-dependencies]
console = ['qtconsole']
speedup = ['numba']
extendedfilesupport = ['ase', 'hdf5plugin']
full = ['qtconsole', 'ase', 'numba' , 'PyOpenGL', 'hdf5plugin']
full-devel = ['qtconsole', 'ase', 'numba' , 'PyOpenGL', 'hdf5plugin', 'ruff', 'pyupgrade']
[build-system]
requires = ["setuptools >= 80.0", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["orgui*"]
exclude = ["orgui.datautils.xrayutils.tests*"]
namespaces = true
[project.scripts] #
orGUI='orgui.main:main'
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
"orgui.resources.icons" = ['*.svg','*.png']
"orgui.datautils.xrayutils.unitcells" = ['*.bul', '*.sur', '*.xtal', '*.xpr']
[tool.setuptools_scm]
version_file = "orgui/_version.py"
fallback_version = "1.4.2+nogit"
[tool.ruff]
# Target Python version for pyupgrade
target-version = "py310"
# Optional: autofix
# fix = true
[tool.ruff.lint]
# Ruff 0.4+ uses this section for rule configuration
# Enable linting for NumPy 2.x deprecations and general cleanup
select = [
"E", "F", "W", # Pyflakes / pycodestyle
"UP", # pyupgrade rules
"NPY", # NumPy-specific rules (NumPy 2.x)
]
ignore = [
# Add ignores here if needed
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["NPY002"] # Example: ignore certain NumPy rules in tests