setup.py 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Copyright 2024 Google LLC
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # Always prefer setuptools over distutils
  15. from setuptools import setup, find_packages
  16. # To use a consistent encoding
  17. from codecs import open
  18. from os import path
  19. import sys
  20. here = path.abspath(path.dirname(__file__))
  21. # Get the long description from the README file
  22. with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
  23. long_description = f.read()
  24. setup(
  25. name='pebble.commander',
  26. version='0.0.11',
  27. description='Pebble Commander',
  28. long_description=long_description,
  29. url='https://github.com/pebble/pebble-commander',
  30. author='Pebble Technology Corporation',
  31. author_email='cory@pebble.com',
  32. packages=find_packages(exclude=['contrib', 'docs', 'tests']),
  33. namespace_packages = ['pebble'],
  34. install_requires=[
  35. 'pebble.pulse2>=0.0.7,<1',
  36. ],
  37. extras_require = {
  38. 'Interactive': [
  39. 'pebble.loghash>=2.6',
  40. 'prompt_toolkit>=0.55',
  41. ],
  42. },
  43. entry_points={
  44. 'console_scripts': [
  45. 'pebble-commander = pebble.commander.__main__:main [Interactive]',
  46. ],
  47. },
  48. )