Cross-platform spec, build entry point, packaging docs, and a Gitea Actions workflow for the Windows build. Tolerate Finder-injected launch arguments.
44 lines
870 B
TOML
44 lines
870 B
TOML
[project]
|
|
name = "neotalk"
|
|
version = "0.1.0"
|
|
description = "A modern, encrypted, peer-to-peer chat over IP with a graphical interface."
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = { text = "GPL-3.0-or-later" }
|
|
authors = [{ name = "Andros Fenollosa" }]
|
|
dependencies = [
|
|
"cryptography>=42.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
neotalk = "neotalk.__main__:main"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-cov>=5.0",
|
|
"ruff>=0.6",
|
|
"pre-commit>=3.7",
|
|
]
|
|
build = [
|
|
"pyinstaller>=6.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/neotalk"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py311"
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "SIM", "C4"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|