# HG changeset patch # User Tuomo Valkonen # Date 1638708021 -7200 # Node ID 41eca7c39c39f4b25f6a36edeb712fc03141986a # Parent 45c1a38f870930884d8fb227b5d2dc3819fc5151 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. diff -r 45c1a38f8709 -r 41eca7c39c39 pyproject.toml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pyproject.toml Sun Dec 05 14:40:21 2021 +0200 @@ -0,0 +1,30 @@ +[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'] + diff -r 45c1a38f8709 -r 41eca7c39c39 setup.py --- a/setup.py Sun Dec 05 13:34:02 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -from setuptools import setup, find_packages - -setup( - name = 'borgend', - version = '0.1.0', - author = 'Tuomo Valkonen', - author_email = 'tuomov@iki.fi', - url = 'https://tuomov.iki.fi/software/borgend/', - packages = ['borgend'], - data_files=[], - entry_points= { - "console_scripts": ["borgend = borgend.__main__:main"] - }, - #setup_requires=['py2app'], - install_requires=[ - "rumps", - "keyring", - "PyYAML", - "xdg;platform_system!='darwin'", - ], - app=['borgend/__main__.py'], - setup_requires=['py2app'], - options={ - 'py2app': { - 'argv_emulation': False, - 'plist': { - 'LSUIElement': True, - }, - 'excludes': ['wx', 'matplotlib', 'numpy', 'scipy', 'sip'], - } - } -)