-
Notifications
You must be signed in to change notification settings - Fork 489
/
Copy pathpyproject.toml
87 lines (76 loc) · 1.85 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
[project]
name = "pyboy"
version = "2.5.1"
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.9"
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.6,!=3.0.10; platform_python_implementation == 'CPython'",
"numpy",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
zip-safe = false
packages = ["pyboy", "pyboy.api", "pyboy.core", "pyboy.core.cartridge", "pyboy.logging", "pyboy.plugins"]
[tool.setuptools.package-data]
"*" = [
"**/*.pxi",
"**/*.pyx",
"**/*.pxd",
"**/bootrom*.bin",
"**/font.txt"
]
[tool.pytest.ini_options]
addopts = "--benchmark-disable"
testpaths = [
"tests",
"pyboy",
]
filterwarnings = [
"error",
"ignore:Using SDL2 binaries from pysdl2-dll.*",
"ignore:pysdl2-dll is installed as source-only.*"
]
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "double"
docstring-code-format = false
[tool.ruff.lint]
fixable = ["ALL"]
ignore = ["E741", "E731", "E712", "F821"]