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.

137
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
1 [metadata]
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
2 name = "borgend"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
3 version = "0.1.0"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
4 author = "Tuomo Valkonen"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
5 author_email = "tuomov@iki.fi"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
6 url = "https://tuomov.iki.fi/software/borgend/"
22
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7
137
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
8 [options]
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
9 packages = "borgend"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
10 python_requires = ">=3.8"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
11 install_requires = [
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
12 "rumps",
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
13 "keyring",
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
14 "PyYAML",
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
15 "xdg;platform_system!='darwin'"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
16 ]
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
17 app = "borgend/__main__.py"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
18
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
19 [build-system]
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
20 requires = ["setuptools", "wheel", "py2app"]
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
21 build-backend = "setuptools.build_meta"
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
22
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
23 [options.entry_points]
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
24 console_scripts = { borgend = "borgend.__main__:main" }
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
25
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
26 [options.py2app]
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
27 argv_emulation = false
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
28 plist = { LSUIElement = true }
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
29 excludes = ['wx', 'matplotlib', 'numpy', 'scipy', 'sip']
41eca7c39c39 Experiment with pyproject.toml.
Tuomo Valkonen <tuomov@iki.fi>
parents: 135
diff changeset
30

mercurial