setup.py

2 weeks ago

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 02 Jun 2025 14:58:39 -0500 (2 weeks ago)
changeset 149
4d5cb76f86a2
parent 148
ff975e768112
permissions
-rw-r--r--

Changes to the hacks the horrible shite known as py2app requires with keyring *today*.

from setuptools import setup, find_packages

setup(
    name = 'borgend',
    version = '0.1.1',
    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",
        "ssdpy",
        "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'],
        }
    }
)

mercurial