setup.py~ 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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.17',
  23. 'Pykka >= 1.1',
  24. ],
  25. test_suite='nose.collector',
  26. tests_require=[
  27. 'nose',
  28. 'mock >= 1.0',
  29. ],
  30. entry_points={
  31. 'mopidy.ext': [
  32. 'touchscreen = mopidy_touchscreen:Extension',
  33. ],
  34. },
  35. classifiers=[
  36. 'Environment :: No Input/Output (Daemon)',
  37. 'Intended Audience :: End Users/Desktop',
  38. 'License :: OSI Approved :: Apache Software License',
  39. 'Operating System :: OS Independent',
  40. 'Programming Language :: Python :: 2',
  41. 'Topic :: Multimedia :: Sound/Audio :: Players',
  42. ],
  43. )