__init__.py.in 826 B

123456789101112131415161718192021222324252627
  1. # Make core client functions available without prefix.
  2. # @GENERATED@
  3. #
  4. # This file is Copyright 2010 by the GPSD project
  5. # SPDX-License-Identifier: BSD-2-Clause
  6. #
  7. # This code runs compatibly under Python 2 and 3.x for x >= 2.
  8. # Preserve this property!
  9. from __future__ import absolute_import # Ensure Python2 behaves like Python 3
  10. from .gps import *
  11. from .misc import *
  12. # Keep in sync with gpsd.h
  13. api_version_major = @GPSAPIVERMAJ@ # bumped on incompatible changes
  14. api_version_minor = @GPSAPIVERMIN@ # bumped on compatible changes
  15. # at some point this will need an override method
  16. __iconpath__ = '@ICONPATH@'
  17. __version__ = '@VERSION@'
  18. # The 'client' module exposes some C utility functions for Python clients.
  19. # The 'packet' module exposes the packet getter via a Python interface.
  20. # vim: set expandtab shiftwidth=4