pyproject.toml

Sun, 05 Dec 2021 14:40:21 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 05 Dec 2021 14:40:21 +0200
changeset 137
41eca7c39c39
parent 135
setup.py@45c1a38f8709
permissions
-rw-r--r--

Experiment with pyproject.toml.
A total mess, doesn't seem to work without nonstandard-format setup.cfg.
So just stick to old setup.py for now.

[metadata]
name = "borgend"
version = "0.1.0"
author = "Tuomo Valkonen"
author_email = "tuomov@iki.fi"
url = "https://tuomov.iki.fi/software/borgend/"

[options]
packages = "borgend"
python_requires = ">=3.8"
install_requires = [
    "rumps",
    "keyring",
    "PyYAML",
    "xdg;platform_system!='darwin'"
]
app = "borgend/__main__.py"

[build-system]
requires = ["setuptools", "wheel", "py2app"]
build-backend = "setuptools.build_meta"

[options.entry_points]
console_scripts = { borgend = "borgend.__main__:main" }

[options.py2app]
argv_emulation = false
plist = { LSUIElement = true }
excludes = ['wx', 'matplotlib', 'numpy', 'scipy', 'sip']

mercurial