setup.py 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. from __future__ import unicode_literals
  2. import re
  3. from setuptools import find_packages, setup
  4. def get_version(filename):
  5. content = open(filename).read()
  6. metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content))
  7. return metadata['version']
  8. setup(
  9. name='Mopidy-Touchscreen',
  10. version=get_version('mopidy_touchscreen/__init__.py'),
  11. url='https://github.com/9and3r/mopidy-touchscreen',
  12. license='Apache License, Version 2.0',
  13. author='9and3r',
  14. author_email='9and3r@gmail.com',
  15. description='Mopidy extension to show info on a display and control from it',
  16. long_description=open('README.rst').read(),
  17. packages=find_packages(exclude=['tests', 'tests.*']),
  18. zip_safe=False,
  19. include_package_data=True,
  20. install_requires=[
  21. 'setuptools',
  22. 'Mopidy >= 0.18',
  23. 'Pykka >= 1.1',
  24. 'pygame'
  25. ],
  26. test_suite='nose.collector',
  27. tests_require=[
  28. 'nose',
  29. 'mock >= 1.0',
  30. ],
  31. entry_points={
  32. 'mopidy.ext': [
  33. 'touchscreen = mopidy_touchscreen:Extension',
  34. ],
  35. },
  36. classifiers=[
  37. 'Environment :: No Input/Output (Daemon)',
  38. 'Intended Audience :: End Users/Desktop',
  39. 'License :: OSI Approved :: Apache Software License',
  40. 'Operating System :: OS Independent',
  41. 'Programming Language :: Python :: 2',
  42. 'Topic :: Multimedia :: Sound/Audio :: Players',
  43. ],
  44. )