Working Python version for Commodore.

This commit is contained in:
The Dust Council 2026-06-14 17:43:12 -07:00
commit 2a48f52979
51 changed files with 3095 additions and 0 deletions

31
pyproject.toml Normal file
View file

@ -0,0 +1,31 @@
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "c64view"
version = "0.1.0"
description = "Convert modern images into Commodore 64 disk images with a built-in viewer"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
dependencies = [
"numpy>=1.22",
"Pillow>=9.0",
# PyQt5 is needed only for the GUI; the CLI works without it.
]
[project.optional-dependencies]
gui = ["PyQt5>=5.15"]
[project.scripts]
c64view-cli = "c64view.cli:main"
[project.gui-scripts]
c64view = "c64view.gui:main"
[tool.setuptools.packages.find]
include = ["c64view*"]
[tool.setuptools.package-data]
"c64view.viewer" = ["*.s"]