You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
[build-system] |
|
requires = ["setuptools>=61"] |
|
build-backend = "setuptools.build_meta" |
|
|
|
[project] |
|
name = "imwald" |
|
version = "0.1.0" |
|
description = "Linux-native Nostr client (Qt / PySide6)" |
|
readme = "README.md" |
|
requires-python = ">=3.11" |
|
dependencies = [ |
|
"PySide6>=6.6", |
|
"cryptography>=42", |
|
"bech32>=1.2", |
|
"coincurve>=20", |
|
"PyNaCl>=1.5", |
|
"websockets>=12", |
|
"quickjs-ng>=0.13", |
|
"nh3>=0.2", |
|
"markdown>=3.5", |
|
"pillow>=10", |
|
] |
|
|
|
[project.optional-dependencies] |
|
dev = ["pytest>=8"] |
|
|
|
[project.scripts] |
|
imwald = "imwald.__main__:main" |
|
|
|
[tool.setuptools.packages.find] |
|
where = ["src"] |
|
|
|
[tool.setuptools.package-dir] |
|
"" = "src" |
|
|
|
[tool.setuptools.package-data] |
|
imwald = ["ui/assets/vendor/*.js", "ui/assets/*.png"] |
|
|
|
[tool.pytest.ini_options] |
|
pythonpath = ["src"] |
|
|
|
# Pylance / basedpyright: resolve ``imwald`` from the src layout (same as pytest). |
|
[tool.pyright] |
|
include = ["src", "tests"] |
|
extraPaths = ["src"] |
|
pythonVersion = "3.11" |
|
# So third-party stubs (e.g. Pillow → ``PIL``) resolve when using ``.venv`` at the repo root. |
|
venvPath = "." |
|
venv = ".venv" |
|
# Strict static typing; partial stubs live under ``typings/`` (``stubPath``). |
|
typeCheckingMode = "strict" |
|
reportMissingTypeStubs = "error" |
|
stubPath = "typings"
|
|
|