spiegel-keyman/linux/keyman-config/setup.py
Eberhard Beilharz f899627129
fix(linux): Add packaging Python dependency
It isn't enough to have the package as build dependency, we also have to
list is in the binary package or in the `install_requires` list in
`setup.py`. This change also adds other missing python modules to
`install_requires` so that things work correctly if building/installing
from source.
2024-02-29 18:50:30 +01:00

45 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'],
zip_safe=False, # don't install a zip
install_requires=[
'dbus-python',
'lxml',
'numpy',
'packaging',
'pillow',
'PyGObject',
'python-magic',
'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,
)