2020-10-26 22:45:22 +00:00
|
|
|
#!/usr/bin/python3
|
|
|
|
# -*- coding: utf-8 -*-
|
2020-10-31 13:43:09 +00:00
|
|
|
# key-mapper - GUI for device specific keyboard mappings
|
2020-10-26 22:45:22 +00:00
|
|
|
# Copyright (C) 2020 sezanzeb <proxima@hip70890b.de>
|
|
|
|
#
|
2020-10-31 13:02:59 +00:00
|
|
|
# This file is part of key-mapper.
|
2020-10-26 22:45:22 +00:00
|
|
|
#
|
2020-10-31 13:02:59 +00:00
|
|
|
# key-mapper is free software: you can redistribute it and/or modify
|
2020-10-26 22:45:22 +00:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
2020-10-31 13:02:59 +00:00
|
|
|
# key-mapper is distributed in the hope that it will be useful,
|
2020-10-26 22:45:22 +00:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2020-10-31 13:02:59 +00:00
|
|
|
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
|
2020-10-26 22:45:22 +00:00
|
|
|
|
|
|
|
|
2020-11-29 09:42:20 +00:00
|
|
|
import glob
|
|
|
|
from setuptools import setup
|
2020-10-26 22:45:22 +00:00
|
|
|
|
2020-11-29 09:42:20 +00:00
|
|
|
setup(
|
2020-10-31 13:43:09 +00:00
|
|
|
name='key-mapper',
|
2020-12-04 21:05:09 +00:00
|
|
|
version='0.2.0',
|
2020-11-29 09:42:20 +00:00
|
|
|
description='A tool to change the mapping of your input device buttons',
|
|
|
|
author='Sezanzeb',
|
|
|
|
author_email='proxima@hip70890b.de',
|
|
|
|
url='https://github.com/sezanzeb/key-mapper',
|
2020-10-26 22:45:22 +00:00
|
|
|
license='GPL-3.0',
|
2020-11-29 09:42:20 +00:00
|
|
|
packages=[
|
|
|
|
'keymapper',
|
|
|
|
'keymapper.dev',
|
|
|
|
'keymapper.gtk'
|
|
|
|
],
|
2020-10-26 22:45:22 +00:00
|
|
|
data_files=[
|
2020-11-29 12:30:16 +00:00
|
|
|
('/usr/share/key-mapper/', glob.glob('data/*')),
|
|
|
|
('/usr/share/applications/', ['data/key-mapper.desktop']),
|
2020-11-25 22:36:03 +00:00
|
|
|
('/etc/xdg/autostart/', ['data/key-mapper-service.desktop']),
|
2020-12-03 17:29:46 +00:00
|
|
|
# manjaro installs the executables with pip, ubuntu doesn't.
|
2020-11-29 12:30:16 +00:00
|
|
|
('/usr/bin/', ['bin/key-mapper-gtk']),
|
|
|
|
('/usr/bin/', ['bin/key-mapper-service']),
|
2020-11-29 09:42:20 +00:00
|
|
|
],
|
2020-11-29 13:19:32 +00:00
|
|
|
install_requires=[
|
|
|
|
'setuptools',
|
|
|
|
'evdev',
|
2020-12-02 13:36:17 +00:00
|
|
|
'pydbus'
|
2020-11-29 13:19:32 +00:00
|
|
|
]
|
2020-10-26 22:45:22 +00:00
|
|
|
)
|