forked from Baekalfen/PyBoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (80 loc) · 2 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
[project]
name = "pyboy"
version = "1.6.7"
authors = [
{name = "Mads Ynddal", email = "[email protected]"}
]
keywords = ["gameboy", "game boy", "emulator", "cython", "pypy"]
description = "Game Boy emulator written in Python"
readme = "README.md"
license = {file = "LICENSE.md"}
classifiers = [
"License :: Free for non-commercial use",
"Operating System :: OS Independent",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: System :: Emulators",
]
requires-python = ">=3.8"
dependencies = [
"numpy",
"pysdl2",
"pysdl2-dll",
]
[project.optional-dependencies]
all = [
"pyopengl",
"markdown",
"pdoc3",
"gym",
]
[project.urls]
Homepage = "https://github.com/Baekalfen/PyBoy"
Documentation = "https://docs.pyboy.dk/index.html"
Repository = "https://github.com/Baekalfen/PyBoy.git"
[project.scripts]
pyboy = "pyboy.__main__:main"
[build-system]
requires = [
"setuptools>=61.0.0",
"wheel",
"cython>=3.0.0,!=3.0.4; platform_python_implementation == 'CPython'",
"numpy",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.packages.find]
where = ["."]
include = ["pyboy*"]
[tool.setuptools.package-data]
pyboy = ["pyboy/core/bootrom_dmg.bin"]
"*" = [
"**/*.pxi",
"**/*.pyx",
"**/*.pxd",
"**/*.c",
"**/*.h",
"**/bootrom*.bin",
"**/font.txt"
]
[tool.isort]
line_length = 120
[tool.yapf]
based_on_style = "facebook"
spaces_before_comment = 1
column_limit = 120
align_closing_bracket_with_visual_indent = false
dedent_closing_brackets = true
coalesce_brackets = true
indent_closing_brackets = false
indent_dictionary_value = true
join_multiple_lines = false
split_penalty_after_opening_bracket = 0
split_penalty_before_if_expr = 30
split_penalty_for_added_line_split = 30
split_before_logical_operator = false
split_before_bitwise_operator = false
arithmetic_precedence_indication = true