setup.py 779 B

123456789101112131415161718192021222324252627282930
  1. __author__ = 'katharine'
  2. import sys
  3. from setuptools import setup, find_packages
  4. requires = [
  5. 'pebble_tool==4.4-dp2',
  6. 'libpebble2[pulse]>=0.0.23',
  7. ]
  8. if sys.version_info < (3, 4, 0):
  9. requires.append('enum34==1.0.4')
  10. __version__ = None # Overwritten by executing version.py.
  11. with open('pbl/version.py') as f:
  12. exec(f.read())
  13. setup(name='pbl-tool',
  14. version=__version__,
  15. description='Internal tool for interacting with pebbles.',
  16. url='https://github.com/pebble/pbl',
  17. author='Pebble Technology Corporation',
  18. author_email='katharine@pebble.com',
  19. license='MIT',
  20. packages=find_packages(),
  21. install_requires=requires,
  22. entry_points={
  23. 'console_scripts': ['pbl=pbl:run_tool'],
  24. },
  25. zip_safe=False)