setup.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. setup(
  17. name='pebble.programmer',
  18. version='0.0.3',
  19. description='Pebble Programmer',
  20. url='https://github.com/pebble/pblprog',
  21. author='Pebble Technology Corporation',
  22. author_email='liam@pebble.com',
  23. packages=find_packages(exclude=['contrib', 'docs', 'tests']),
  24. namespace_packages=['pebble'],
  25. install_requires=[
  26. 'intelhex>=2.1,<3',
  27. 'pyftdi'
  28. ],
  29. package_data={
  30. 'pebble.programmer.targets': ['loader.bin']
  31. },
  32. entry_points={
  33. 'console_scripts': [
  34. 'pblprog = pebble.programmer.__main__:main',
  35. ],
  36. },
  37. zip_safe=False
  38. )