forked from moderngl/moderngl-window
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
137 lines (118 loc) · 2.91 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
[project]
name = "moderngl-window"
version = "2.4.5"
description = "A cross platform helper library for ModernGL making window creation and resource loading simple"
readme = "README.md"
authors = [
{name="Einar Forselv", email="[email protected]"}
]
requires-python = ">=3.8"
license = {file = "license.rst"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Games/Entertainment",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: 3D Rendering",
"Topic :: Scientific/Engineering :: Visualization",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
# zip-safe = false
dependencies = [
"moderngl<6",
"pyglet~=2.0.0",
"numpy>=1.16,<2",
"pyrr>=0.10.3,<1",
"Pillow~=10.0.1",
]
[tool.setuptools.packages.find]
include = ["moderngl_window", "moderngl_window.*"]
[project.optional-dependencies]
dev = [
"pytest",
"mypy",
"flake8",
"coverage",
"pywavefront",
"trimesh",
"scipy",
"build",
]
docs = [
"Sphinx~=7.2.6 ",
"sphinx-rtd-theme~=1.3.0 ",
"doc8",
]
pygame = ["pygame>=2.0.1"]
pygame-ce = ["pygame-ce>=2.0.1"]
tk = ["pyopengltk>=0.0.3"]
trimesh = ["trimesh>=3.2.6,<4"]
pywavefront = ["pywavefront>=1.2.0,<2"]
PySDL2 = ["PySDL2"]
glfw = ["glfw"]
pyqt5 = ["PyQt5"]
PySide2 = ["PySide2<6"]
pdf = ["ReportLab>=1.2"]
[project.urls]
Source = "https://github.com/moderngl/moderngl_window"
Documentation = "https://moderngl-window.readthedocs.io"
ModernGL = "https://github.com/moderngl/moderngl"
[tool.coverage.run]
source = ["moderngl_window"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.flake8]
ignore = [
"W503",
"C901",
]
max-line-length = 120
max-complexity = 10
exclude = [
"tests/",
"docs/",
"temp/",
]
[tool.mypy]
disable_error_code = "annotation-unchecked"
[[tool.mypy.overrides]]
module = "pyglet.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "PIL.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rocket.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "imgui.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "sdl2.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pyopengltk.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "PySide2.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pygame.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "glfw.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "PyQt5.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pyrr.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "trimesh.*"
ignore_missing_imports = true