55 lines
2.0 KiB
Python
Executable File
55 lines
2.0 KiB
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from glob import glob
|
|
# from distutils.core import setup
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
setup(name='Solaar',
|
|
version='0.8.4',
|
|
description='Linux devices manager for the Logitech Unifying Receiver.',
|
|
long_description='''
|
|
Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals.
|
|
It is able to pair/unpair devices to the receiver, and for some devices read
|
|
battery status.
|
|
'''.strip(),
|
|
author='Daniel Pavel',
|
|
author_email='daniel.pavel@gmail.com',
|
|
license='GPLv2',
|
|
url='http://pwr.github.com/Solaar/',
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Environment :: X11 Applications :: GTK',
|
|
'Environment :: Console',
|
|
'Intended Audience :: End Users/Desktop',
|
|
'License :: DFSG approved',
|
|
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
|
|
'Natural Language :: English',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3.2',
|
|
'Operating System :: POSIX :: Linux',
|
|
'Topic :: Utilities',
|
|
],
|
|
|
|
platforms=['linux'],
|
|
requires=['pyudev (>= 0.13)', 'gi.repository.GObject (>= 2.0)', 'gi.repository.Gtk (>= 3.0)'],
|
|
extras_require={'notifications': 'gi.repository.Notify'},
|
|
|
|
package_dir={'': 'src'},
|
|
# packages=['hidapi', 'logitech', 'logitech.unifying_receiver', 'solaar', 'solaar.ui'],
|
|
packages=find_packages('src'),
|
|
|
|
data_files=[
|
|
# ('share/applications', ['share/applications/solaar.desktop']),
|
|
('share/icons/hicolor/128x128/apps', ['share/icons/solaar.png']),
|
|
('share/solaar/icons', glob('share/icons/*.png')),
|
|
# ('/etc/udev/rules.d', ['rules.d/99-logitech-unifying-receiver.rules']),
|
|
],
|
|
|
|
scripts=['bin/solaar', 'bin/solaar-cli'],
|
|
# entry_points={
|
|
# 'console_scripts': ['solaar-cli = solaar.cli:main'],
|
|
# 'gui_scripts': ['solaar = solaar.gtk:main'],
|
|
# },
|
|
)
|