-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (44 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
55 lines (44 loc) · 1.49 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
[project]
name = "yaptide-converter"
version = "1.0.0"
description = "Yet Another Particle Transport IDE - converter"
authors = [{name = "yaptide team"}] # PEP 621 author format
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
readme = "README.md"
requires-python = ">=3.9,<3.14"
[project.urls]
"Homepage" = "https://github.com/yaptide/converter" # Renamed from repository
"Bug Tracker" = "https://github.com/yaptide/converter/issues"
[project.scripts]
yaptide-converter = "converter.main:main"
[tool.poetry]
# Keep this section for Poetry-specific configurations not covered by PEP 621
packages = [{include = "converter"}]
[tool.poetry.group.test]
optional = true # Mark as optional so it's not installed by default
[tool.poetry.group.test.dependencies]
pytest = "8.4.2"
pre-commit = "4.3.0"
# scipy is needed in unit tests to cross check if rotation method works properly
# Use conditional dependencies based on Python version
scipy = [
{ version = "1.13.1", python = "3.9" },
{ version = "1.15.1", python = ">=3.10,<3.14" } # For Python 3.10 and up, within project's range
]
numpy = "^2.0.0"
[tool.poetry.dependencies]
defusedxml = "^0.7.1"
[build-system]
requires = ["poetry-core>=1.0.0"] # Ensure poetry-core is at least 1.0 for PEP 517 compliance
build-backend = "poetry.core.masonry.api"
[tool.pycodestyle]
max-line-length = "120"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
testpaths = ["tests"]
[tool.ruff]
line-length = 120