[build-system] requires = ["hatchling>=1.25"] build-backend = "hatchling.build" [project] name = "gba-python" version = "0.1.0.dev0" description = "Readable, pure-Python Game Boy Advance board built on arm7tdmi-python" readme = "README.md" # The floor is the newest Python PyPy supports (3.11 as of PyPy 7.3.20); raise it when PyPy does. requires-python = ">=3.11" license = { file = "LICENSE" } authors = [{ name = "alewman" }] classifiers = [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: System :: Emulators", ] # The cores, pinned by revision to their GitHub repositories (private; the machine's git # credentials reach them), never by local path (docs/plan.md "Before rung 0"). After the # history clean-up (2026-11-22): arm7tdmi-python 4f1822c, its one-commit reset a99130a (the # core as rewritten from permitted sources on 2026-11-19, replacing the code of 69aceb2), the # interrupt-entry mask fix 3382b32 and (2026-11-23) U14's clearing of I acting at once; and # gb-apu-python 2e59dee, 904c5d8 after its history rewrite (the same tree). dependencies = [ "arm7tdmi-python @ git+ssh://git@github.com/alewman/arm7tdmi-python.git@4f1822c332a2b6534f9264b6671bbb96b1d76a69", "gb-apu-python @ git+ssh://git@github.com/alewman/gb-apu-python.git@2e59dee9622d5c108c155cc5adfafa5cb622b546", ] [project.optional-dependencies] dev = ["pytest", "ruff"] [tool.hatch.metadata] allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ["src/gba_python"] [tool.pytest.ini_options] testpaths = ["tests"] markers = ["slow: runs test ROMs for many frames (deselect with -m 'not slow')"] [tool.ruff] target-version = "py311" line-length = 100