# SPDX-License-Identifier: MIT [build-system] requires = ["hatchling>=1.25"] build-backend = "hatchling.build" [project] name = "w65c02-python" version = "0.1.0.dev0" description = "Readable, pure-Python CMOS 65C02 core (WDC W65C02S, Rockwell R65C02, GTE G65SC02, the Atari Lynx cells), correct to the bus cycle" 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 :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: System :: Emulators", ] # The frame the classes subclass and the tooling they reuse (docs/handoff-brief.md): # 6502-python main at the merge of PR #9 (tooling hooks), after #8 (CPUFrame); # pinned by commit until a release contains them (request R2). dependencies = [ # 828b619 = 741419a after 6502-python's history rewrite of 2026-11-21 (same tree). "6502-python @ git+https://github.com/alewman/6502-python@828b61940415eed39678fa1f7d310608201e54ef", ] [project.optional-dependencies] dev = ["pytest>=8", "ruff==0.16.8"] [tool.hatch.metadata] allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ["src/w65c02_python"] [tool.ruff] line-length = 100 target-version = "py311" [tool.pytest.ini_options] addopts = "--strict-markers -ra" testpaths = ["tests"] markers = [ "slow: a whole external-oracle corpus run; `pytest -m \"not slow\"` is the quick loop", ]