setup.py

Wed, 23 Nov 2022 10:57:57 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 23 Nov 2022 10:57:57 +0200
changeset 146
e79cc90c7798
parent 135
45c1a38f8709
permissions
-rw-r--r--

Use borg list --glob-archives instead of --prefix, as the latter seems to have been obsoleted.

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",
        "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