mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
setup: Clean up requires and fix entry_points
This commit is contained in:
parent
db00301a1b
commit
6e5b5481b2
24
setup.py
24
setup.py
@ -36,26 +36,18 @@ setup(
|
|||||||
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
|
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
|
||||||
python_requires='>=3.8.0',
|
python_requires='>=3.8.0',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'dbus-python==1.2.16',
|
'appdirs>=1.4.3',
|
||||||
'evdev==1.4.0',
|
'dbus-python>=1.2.16',
|
||||||
|
'evdev>=1.4.0',
|
||||||
'Pillow==7.0.0',
|
'Pillow==7.0.0',
|
||||||
'PyGObject==3.40.1',
|
'PyGObject>=3.40.1',
|
||||||
'pyusb==1.0.2',
|
'pyusb>=1.0.2',
|
||||||
'xdg==5.0.2'
|
|
||||||
],
|
],
|
||||||
data_files={
|
|
||||||
'share/applications': [
|
|
||||||
path.join(here, 'com.theonelab.g13gui.Configurator.desktop'),
|
|
||||||
path.join(here, 'com.theonelab.g13gui.applet.Clock.desktop'),
|
|
||||||
path.join(here, 'com.theonelab.g13gui.applet.Profiles.desktop'),
|
|
||||||
],
|
|
||||||
'share/icons/hicolor/scalable/apps': [
|
|
||||||
path.join(here, 'g13-logo.svg')
|
|
||||||
]
|
|
||||||
},
|
|
||||||
entry_points={
|
entry_points={
|
||||||
|
'gui_scripts': [
|
||||||
|
'g13gui=g13gui.main:main'
|
||||||
|
],
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'g13gui=g13gui.main:main',
|
|
||||||
'g13-clock=g13gui.applets.clock:main',
|
'g13-clock=g13gui.applets.clock:main',
|
||||||
'g13-profiles=g13gui.applets.profiles:main'
|
'g13-profiles=g13gui.applets.profiles:main'
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user