gpsd-setup.py.in 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. """
  2. gpsd-setup.py - Build gpsd Python modules for additional Pythons.
  3. This file is Copyright 2020 by the GPSD project
  4. SPDX-License-Identifier: BSD-2-clause
  5. """
  6. # This code runs compatibly under Python 2 and 3.x for x >= 2.
  7. # Preserve this property!
  8. try:
  9. from setuptools import setup
  10. except ImportError: # No setuptools in Python 2
  11. from distutils.core import setup
  12. setup(
  13. name='gps',
  14. version='@VERSION@',
  15. description='gpsd Python modules for additional Pythons',
  16. long_description='''# README
  17. the gps module is a translator between gpsd and its' clients.
  18. gps communicates on a port (2947) requesting information. The
  19. communication is JSON formatted. gps takes this information
  20. from gpsd and translates it a pythonic interface easier to
  21. understand for clients.
  22. This module is for additional Pythons.''',
  23. long_description_content_type='text/markdown',
  24. url='@WEBSITE@',
  25. author='the GPSD project',
  26. author_email='@DEVMAIL@',
  27. license='BSD',
  28. packages=['gps'],
  29. project_urls={
  30. 'download': '@DOWNLOAD@',
  31. 'irc': '@IRCCHAN@',
  32. 'issues': '@ISSUES@',
  33. 'lists': '@MAILMAN@',
  34. 'project': '@PROJECTPAGE@',
  35. 'support': '@SUPPORT@',
  36. 'tiplink': 'https://www.patreon.com/esr',
  37. },
  38. classifiers=[
  39. 'Development Status :: 5 - Production/Stable',
  40. 'License :: OSI Approved :: BSD License',
  41. 'Operating System :: POSIX',
  42. 'Programming Language :: Python',
  43. ],
  44. )