forked from makerplane/pyEfis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (73 loc) · 2.07 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
[build-system]
requires = [
"setuptools"
]
build-backend = "setuptools.build_meta"
#[tool.setuptools]
[tool.setuptools.dynamic]
version = {attr = "pyefis.__version__"}
[project]
name = "pyEfis"
dynamic = ["version"]
description = "An Electronic Flight Information System written in Python."
readme = "README.rst"
requires-python = ">=3.8, <4"
authors = [
{ name = "MakerPlane Open Source Aviation", email = "[email protected]" },
]
keywords = [
"aviation",
"efis",
"makerplane",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"geopy==2.4.1",
# Until this revision is published to PyPy get it from git:
"pyavtools @ git+https://github.com/makerplane/pyAvTools/@ae79ef3a971d62cc43cedcfb5f303ced2dd09fbf",
"pycond==20230212",
"PyQt5==5.15.10",
"PyYAML==6.0.1",
]
[project.optional-dependencies]
build = [
"build==1.2.1",
]
[project.scripts]
pyefis = "pyefis.main:main"
[project.urls]
Homepage = "https://makerplane.org/"
Source = "https://github.com/makerplane/pyEfis"
[tool.pytest.ini_options]
qt_api="pyqt5"
env = [
"QT_QPA_PLATFORM = offscreen:size=1000x1000"
# "QT_QPA_PLATFORM = xcb:size=1000,1000"
]
filterwarnings = [
# I belive this is warning that pyqt needs updated if you update to python 3.12
"ignore:sipPyTypeDict.*:DeprecationWarning:.*:"
]
addopts = """
--cov-report term-missing --cov-branch --cov-report html --cov-report term
--cov=pyefis --cov-context=test -vv --strict-markers -rfE
--ignore=tests/end_to_end/repo
"""
[tool.coverage.run]
relative_files = true
[tool.coverage.paths]
source = [
"src/"
]