discover-desktop/setup.py
Trigg 8cd376d311 - This change is very far reaching into the internals. For this reason a version bump is required.
- These is a very high chance of new bugs or repeats of old bugs. Be watchful!
- Removed periodic timeout for overlay ticking
- Removed 60hz timeout for reading websocket
- Removed 1hz timeout for text overlay
- Removed 1hz timeout for notification overlay
- Added a one-call timeout for each overlay which happens a configurable time after render to remove it excess data
- Changed flat bool needsrender to a function call set_needs_render
- Where needed, this schedules an idle callback to rerender, cutting down on multiple renders in extremely short time
- Ripped out do_read from connector
- Piped the websocket socket into GLib, allowing it to call back when new data is readable
- Implemented reconnect logic in GLib
- Shortened connect timeout as localhost should be rather quick
2024-02-13 23:24:48 +00:00

57 lines
1.8 KiB
Python

from setuptools import setup, find_namespace_packages
def readme():
return open('README.md', 'r').read()
setup(
name='discover-overlay',
author='trigg',
author_email='',
version='0.7.0',
description='Voice chat overlay',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/trigg/Discover',
packages=find_namespace_packages(),
include_package_data=True,
data_files=[
('share/applications', [
'discover_overlay.desktop', 'discover_overlay_configure.desktop'
]),
('share/icons/hicolor/256x256/apps',
['discover-overlay.png', 'discover-overlay-tray.png', 'discover-overlay-default.png']),
('share/icons/hicolor/scalable/apps',
['discover-overlay.svg', 'discover-overlay-tray.svg', 'discover-overlay-default.svg'])
],
install_requires=[
'PyGObject>=3.22',
'websocket-client',
'pyxdg',
'requests',
'pillow',
'python-xlib',
'setuptools'
],
entry_points={
'console_scripts': [
'discover-overlay = discover_overlay.discover_overlay:entrypoint',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: GTK',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Communications :: Chat',
'Topic :: Communications :: Conferencing',
],
package_data={
'discover_overlay': ['locales/*/LC_MESSAGES/*.mo', 'glade/*']
},
keywords='discord overlay voice linux',
license='GPLv3+',
)