setup.py 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. """A setuptools based setup module.
  2. See:
  3. https://packaging.python.org/en/latest/distributing.html
  4. https://github.com/pypa/sampleproject
  5. """
  6. # Always prefer setuptools over distutils
  7. from setuptools import setup, find_packages
  8. # To use a consistent encoding
  9. from codecs import open
  10. from os import path
  11. here = path.abspath(path.dirname(__file__))
  12. # Get the long description from the README file
  13. with open(path.join(here, 'README.md'), encoding='utf-8') as f:
  14. long_description = f.read()
  15. setup(
  16. name='kalliope',
  17. # Versions should comply with PEP440. For a discussion on single-sourcing
  18. # the version across setup.py and the project code, see
  19. # https://packaging.python.org/en/latest/single_source_version.html
  20. version='0.1.0',
  21. description='Kalliope is a modular always-on voice controlled personal assistant designed for home automation.',
  22. long_description=long_description,
  23. # The project's main homepage.
  24. url='https://github.com/kalliope-project/kalliope',
  25. # Author details
  26. author='Kalliope developers',
  27. author_email='kalliope@noreply.github.com',
  28. # Choose your license
  29. license='MIT',
  30. # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
  31. classifiers=[
  32. # How mature is this project? Common values are
  33. # 3 - Alpha
  34. # 4 - Beta
  35. # 5 - Production/Stable
  36. 'Development Status :: 3 - Alpha',
  37. # Indicate who your project is intended for
  38. 'Intended Audience :: Developers',
  39. 'Topic :: Software Development :: Build Tools',
  40. # Pick your license as you wish (should match "license" above)
  41. 'License :: OSI Approved :: MIT License',
  42. # Specify the Python versions you support here. In particular, ensure
  43. # that you indicate whether you support Python 2, Python 3 or both.
  44. 'Programming Language :: Python :: 2',
  45. 'Programming Language :: Python :: 2.6',
  46. 'Programming Language :: Python :: 2.7',
  47. 'Programming Language :: Python :: 3',
  48. 'Programming Language :: Python :: 3.3',
  49. 'Programming Language :: Python :: 3.4',
  50. 'Programming Language :: Python :: 3.5',
  51. ],
  52. # What does your project relate to?
  53. keywords='voice control assistant',
  54. # You can just specify the packages manually here if your project is
  55. # simple. Or you can use find_packages().
  56. packages=find_packages(exclude=['contrib', 'docs', 'tests']),
  57. # Alternatively, if you want to distribute just a my_module.py, uncomment
  58. # this:
  59. # py_modules=["my_module"],
  60. # List run-time dependencies here. These will be installed by pip when
  61. # your project is installed. For an analysis of "install_requires" vs pip's
  62. # requirements files see:
  63. # https://packaging.python.org/en/latest/requirements.html
  64. install_requires=[
  65. 'SpeechRecognition==3.4.6',
  66. 'markupsafe==0.23',
  67. 'pyaudio==0.2.9',
  68. 'ansible==2.1.1.0',
  69. 'python2-pythondialog==3.4.0',
  70. 'jinja==1.2',
  71. 'python-crontab==2.1.1',
  72. 'cffi==1.8.3',
  73. 'pygmail==0.0.5.4',
  74. 'pushetta==1.0.15',
  75. 'wakeonlan==0.2.2',
  76. 'ipaddress==1.0.16',
  77. 'pyowm==2.5.0',
  78. 'python-twitter==3.1',
  79. 'flask==0.11.1',
  80. 'Flask-Restful==0.3.5',
  81. 'wikipedia==1.4.0',
  82. ],
  83. # List additional groups of dependencies here (e.g. development
  84. # dependencies). You can install these using the following syntax,
  85. # for example:
  86. # $ pip install -e .[dev,test]
  87. extras_require={
  88. 'dev': ['check-manifest'],
  89. 'test': ['coverage'],
  90. },
  91. # If there are data files included in your packages that need to be
  92. # installed, specify them here. If using Python 2.6 or less, then these
  93. # have to be included in MANIFEST.in as well.
  94. package_data={
  95. 'kalliope': [
  96. 'brains/*.yml',
  97. 'brain.yml',
  98. 'settings.yml',
  99. 'tasks.yml',
  100. 'trigger/snowboy/armv7l/_snowboydetect.so',
  101. 'trigger/snowboy/x86_64/_snowboydetect.so',
  102. 'trigger/snowboy/resources/*',
  103. ],
  104. },
  105. # Although 'package_data' is the preferred approach, in some case you may
  106. # need to place data files outside of your packages. See:
  107. # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
  108. # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
  109. #data_files=[('my_data', ['data/data_file'])],
  110. # To provide executable scripts, use entry points in preference to the
  111. # "scripts" keyword. Entry points provide cross-platform support and allow
  112. # pip to create the appropriate form of executable for the target platform.
  113. entry_points={
  114. 'console_scripts': [
  115. 'kalliope=kalliope:main',
  116. ],
  117. },
  118. )