setup.py 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright (c) 2021, Nordic Semiconductor ASA
  2. #
  3. # SPDX-License-Identifier: Apache-2.0
  4. import setuptools
  5. long_description = '''
  6. Placeholder
  7. ===========
  8. This is just a placeholder for moving Zephyr's devicetree libraries
  9. to PyPI.
  10. '''
  11. version = '0.0.1'
  12. setuptools.setup(
  13. # TBD, just use these for now.
  14. author='Zephyr Project',
  15. author_email='devel@lists.zephyrproject.org',
  16. name='devicetree',
  17. version=version,
  18. description='Python libraries for devicetree',
  19. long_description=long_description,
  20. # http://docutils.sourceforge.net/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data
  21. long_description_content_type="text/x-rst",
  22. url='https://github.com/zephyrproject-rtos/python-devicetree',
  23. packages=setuptools.find_packages(where='src'),
  24. package_dir={'': 'src'},
  25. classifiers=[
  26. 'Programming Language :: Python :: 3 :: Only',
  27. 'License :: OSI Approved :: Apache Software License',
  28. 'Operating System :: POSIX :: Linux',
  29. 'Operating System :: MacOS :: MacOS X',
  30. 'Operating System :: Microsoft :: Windows',
  31. ],
  32. install_requires=[
  33. 'PyYAML>=5.1',
  34. ],
  35. python_requires='>=3.6',
  36. )