# SPDX-License-Identifier: MIT # The floor is the newest Python PyPy supports (3.11); scripts need Pillow # (mame_screens.py, the Mesen2 scripts through mesen2-runner) and the system's mame and 7z. [build-system] requires = ["hatchling>=1.25"] build-backend = "hatchling.build" [project] name = "snes-python" version = "0.1.0.dev0" description = "Readable, pure-Python Super Nintendo board on 65816-python and spc700-python" readme = "README.md" requires-python = ">=3.11" license = { file = "LICENSE" } authors = [{ name = "alewman" }] classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: System :: Emulators", ] # Local cores, unpinned while all three are local (handoff-brief.md): # 65816-python (package w65c816) and spc700-python (package spc700_python). dependencies = ["65816-python", "spc700-python"] [project.optional-dependencies] dev = ["pytest>=8", "ruff==0.16.8"] [tool.hatch.build.targets.wheel] packages = ["src/snes_python"] [tool.ruff] line-length = 100 target-version = "py311" extend-exclude = ["reference", "tests/test_roms", "tests/mame_traces", "trash"] [tool.ruff.lint.per-file-ignores] "scripts/*" = ["E501"] [tool.pytest.ini_options] addopts = "--strict-markers -ra" testpaths = ["tests"] markers = [ "slow: a whole test-ROM corpus run; `pytest -m \"not slow\"` is the quick loop", ]