setup: Clean up dependencies

This commit is contained in:
June Tate-Gans 2021-05-23 12:18:47 -05:00
parent a62a8f3a38
commit 3685a73622

View File

@ -4,6 +4,9 @@ from setuptools import setup, find_packages
from os import path from os import path
from io import open from io import open
from g13gui.common import PROGNAME
from g13gui.common import VERSION
here = path.abspath(path.dirname(__file__)) here = path.abspath(path.dirname(__file__))
@ -11,8 +14,8 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read() long_description = f.read()
setup( setup(
name='g13gui', name=PROGNAME,
version='0.1.0', version=VERSION,
description='A Gtk 3 application to configure the Logitech G13 gameboard', description='A Gtk 3 application to configure the Logitech G13 gameboard',
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
@ -31,15 +34,14 @@ setup(
], ],
keywords='gaming', keywords='gaming',
packages=find_packages(exclude=['contrib', 'docs', 'tests']), packages=find_packages(exclude=['contrib', 'docs', 'tests']),
python_requires='>=3.5.0', python_requires='>=3.8.0',
install_requires=[ install_requires=[
'PyGObject', 'dbus-python==1.2.16',
'PIL', 'evdev==1.4.0',
'Xlib', 'Pillow==7.0.0',
'dbus', 'PyGObject==3.40.1',
'evdev', 'pyusb==1.0.2',
'gzip', 'xdg==5.0.2'
'usb'
], ],
data_files={ data_files={
'share/applications': [ 'share/applications': [
@ -54,8 +56,8 @@ setup(
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'g13gui=g13gui.main:main', 'g13gui=g13gui.main:main',
'g13-clock=g13gui.applets.clock:', 'g13-clock=g13gui.applets.clock:main',
'g13-profiles=g13gui.applets.profiles:' 'g13-profiles=g13gui.applets.profiles:main'
], ],
}, },
) )