setup: Clean up the classifiers, requirements, and data files

We have a bunch more info that is nearly correct, though I haven't validated
this yet. Currently exploring using pipenv instead, since that helps manage
these more effectively.
This commit is contained in:
June Tate-Gans 2021-05-23 11:32:25 -05:00
parent 802b342a1c
commit 5481bbff22

View File

@ -1,7 +1,10 @@
#!/usr/bin/python3
from setuptools import setup, find_packages
from os import path
from io import open
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
@ -19,22 +22,40 @@ setup(
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: End Users/Desktop',
'Topic :: Games/Entertainment',
'License :: OSI Approved :: MIT',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Operating System :: Linux'
],
keywords='gaming',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
python_requires='>=3.5.0',
install_requires=[
'gi',
'PyGObject',
'PIL',
'Xlib',
'dbus',
'evdev',
'gzip',
'usb'
],
package_data={
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={
'console_scripts': [
'g13gui=g13gui.main:main',
'g13-clock=g13gui.applets.clock:',
'g13-profiles=g13gui.applets.profiles:'
],
},
)