mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
This change allows to collect data for a diagnostic report. This can be done either from the command line through the new `km-diag-report` tool, or in `km-config` from the new `Support` tab that allows to generate the report and then copy it to the clipboard or save as a file. The diagnostic report contains installed browsers and their versions and installation methods as well as the default browser. It checks for browsers installed through apt (Ubuntu/Debian), snap, and flatpak. The change also has an implementation for pacman (Arch Linux) and dnf/yum (Fedora), although these have not been tested. Fixes: #7784
47 lines
1.2 KiB
Python
47 lines
1.2 KiB
Python
#!/usr/bin/python3
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
exec(open('keyman_config/version.py').read())
|
|
|
|
setup(
|
|
name="keyman_config",
|
|
version=__version__,
|
|
packages=find_packages(),
|
|
py_modules=['keyman_config.standards.lang_tags_map'],
|
|
scripts=['km-config', 'km-package-get',
|
|
'km-package-install', 'km-kvk2ldml',
|
|
'km-package-uninstall',
|
|
'km-package-list-installed',
|
|
'km-diag-report'],
|
|
|
|
zip_safe=False, # don't install a zip
|
|
|
|
install_requires=[
|
|
'dbus-python',
|
|
'lxml',
|
|
'numpy',
|
|
'packaging',
|
|
'pillow',
|
|
'PyGObject',
|
|
'python-magic',
|
|
'pyxdg',
|
|
'qrcode',
|
|
'requests-cache',
|
|
'requests',
|
|
'sentry-sdk',
|
|
],
|
|
|
|
# metadata to display on PyPI
|
|
author="Keyman team",
|
|
author_email="support@keyman.com",
|
|
description="Keyman for Linux configuration",
|
|
license="MIT",
|
|
keywords="keyman, keyman-config, keyboard",
|
|
url="https://keyman.com/", # project home page, if any
|
|
project_urls={
|
|
"Bug Tracker": "https://github.com/keymanapp/issues",
|
|
"Source Code": "https://github.com/keymanapp/keyman/tree/master/linux/keyman-config",
|
|
},
|
|
# include_package_data=True,
|
|
)
|