setup.py 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 '
  16. 'on a display and control from it',
  17. long_description=open('README.rst').read(),
  18. packages=find_packages(exclude=['tests', 'tests.*']),
  19. zip_safe=False,
  20. include_package_data=True,
  21. install_requires=[
  22. 'setuptools',
  23. 'Mopidy >= 1.0',
  24. 'Pykka >= 1.1',
  25. 'pygame'
  26. ],
  27. test_suite='nose.collector',
  28. tests_require=[
  29. 'nose',
  30. 'mock >= 1.0',
  31. ],
  32. entry_points={
  33. 'mopidy.ext': [
  34. 'touchscreen = mopidy_touchscreen:Extension',
  35. ],
  36. },
  37. classifiers=[
  38. 'Environment :: No Input/Output (Daemon)',
  39. 'Intended Audience :: End Users/Desktop',
  40. 'License :: OSI Approved :: Apache Software License',
  41. 'Operating System :: OS Independent',
  42. 'Programming Language :: Python :: 2',
  43. 'Topic :: Multimedia :: Sound/Audio :: Players',
  44. ],
  45. )