31 lines
693 B
TOML
31 lines
693 B
TOML
[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"]
|