Reorganised repo

This commit is contained in:
Conr86
2019-07-09 13:36:59 +10:00
parent de2e70136a
commit 411f02dcff
4 changed files with 19 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ setup(
long_description=readme, long_description=readme,
author='Connor Kneebone', author='Connor Kneebone',
author_email='connor@sfxrescue.com', author_email='connor@sfxrescue.com',
url='https://github.com/zinob/RPI_SGP30', url='https://github.com/Conr86/PySGP30',
license='MIT', license='MIT',
packages=find_packages(exclude=('tests')), packages=find_packages(exclude=('tests')),
install_requires=['smbus2'], install_requires=['smbus2'],

View File

@@ -8,6 +8,7 @@ from .crc import CRC8
DEVICE_BUS = 1 DEVICE_BUS = 1
class _cmds(): class _cmds():
"""container class for mapping between human readable names and the command values used by the sgp""" """container class for mapping between human readable names and the command values used by the sgp"""
SGP30Cmd = namedtuple("SGP30Cmd", ["commands", "replylen", "waittime"]) SGP30Cmd = namedtuple("SGP30Cmd", ["commands", "replylen", "waittime"])