-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
71 lines (61 loc) · 1.66 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
[project]
name = "rimsschemedrawer"
version = "3.0.0"
description = "Drawing of RIMS schemes in python and/or with a Python GUI."
authors = [
{ name = "Reto Trappitsch", email = "reto@galactic-forensics.space" }
]
dependencies = [
"matplotlib>=3.7.4",
"numpy>=1.24.4",
]
readme = "README.md"
requires-python = ">= 3.8"
license = { text = "MIT" }
[project.gui-scripts]
rimsschemedrawer = "rimsschemedrawer.app:run_gui"
[project.optional-dependencies]
gui = [
"PyQt6>=6.6.1",
"qtpy>=2.4.1",
]
docs = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.5.12",
"mkdocstrings[python]>=0.24.1",
]
[project.urls]
Homepage = "https://github.com/RIMS-Code/RIMSSchemeDrawer"
Documentation = "https://github.com/RIMS-Code/RIMSSchemeDrawer"
Repository = "https://github.com/RIMS-Code/RIMSSchemeDrawer.git"
Issues = "https://github.com/RIMS-Code/RIMSSchemeDrawer/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=7.4.4",
"hypothesis>=6.97.1",
"pytest-cov>=4.1.0",
"requests>=2.31.0",
"rttools @ git+https://github.com/trappitsch/rttools",
"box-packager>=0.3.0",
]
[tool.rye.scripts]
test_cov = "pytest --cov --cov-report xml"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/rimsschemedrawer"]
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov -v"
filterwarnings = 'ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning' # 3rd party
[tool.box]
builder = "rye"
app_entry = "rimsschemedrawer.app:run_gui"
python_version = "3.12"
optional_deps = "gui"
is_gui = true
entry_type = "spec"