|
1 | | -# -*- coding: utf-8 -*- |
2 | | -# (c) Copyright 2019 Sensirion AG, Switzerland |
3 | | - |
4 | | -# from __future__ import absolute_import, division, print_function |
5 | | -from .version import version as __version__ # noqa: F401 |
6 | | -from .device import I2cDevice # noqa: F401 |
7 | | -from .connection import I2cConnection # noqa: F401 |
8 | | - |
9 | | -import sys |
10 | | -if sys.implementation.name.lower() == "circuitpython": |
11 | | - from .circuitpython_i2c_transceiver import CircuitPythonI2cTransceiver as I2cTransceiver |
12 | | -else: |
13 | | - from .linux_i2c_transceiver import LinuxI2cTransceiver as I2cTransceiver |
14 | | - |
15 | | -from .command import I2cCommand # noqa: F401 |
16 | | -from .sensirion_command import SensirionI2cCommand # noqa: F401 |
17 | | -from .crc_calculator import CrcCalculator # noqa: F401 |
18 | | - |
19 | | -__copyright__ = '(c) Copyright 2019 Sensirion AG, Switzerland' |
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# (c) Copyright 2019 Sensirion AG, Switzerland |
| 3 | + |
| 4 | +# from __future__ import absolute_import, division, print_function |
| 5 | +from .version import version as __version__ # noqa: F401 |
| 6 | +from .device import I2cDevice # noqa: F401 |
| 7 | +from .connection import I2cConnection # noqa: F401 |
| 8 | + |
| 9 | +import sys |
| 10 | +if sys.implementation.name.lower() == "circuitpython": |
| 11 | + from .circuitpython_i2c_transceiver import CircuitPythonI2cTransceiver as I2cTransceiver |
| 12 | +else: |
| 13 | + from .linux_i2c_transceiver import LinuxI2cTransceiver as I2cTransceiver |
| 14 | + |
| 15 | +from .command import I2cCommand # noqa: F401 |
| 16 | +from .sensirion_command import SensirionI2cCommand # noqa: F401 |
| 17 | +from .crc_calculator import CrcCalculator # noqa: F401 |
| 18 | + |
| 19 | +__copyright__ = '(c) Copyright 2019 Sensirion AG, Switzerland' |
0 commit comments