README/setup: Now advertises python3 compatibility

This commit is contained in:
Simon Albinsson
2018-04-23 20:57:34 +00:00
parent 1a5162c70b
commit 33ef0708a8
2 changed files with 6 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ RPI_SGP30
Library to read |eCO_2| and TVOC from the `SGP30 sensor <https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/9_Gas_Sensors/Sensirion_Gas_Sensors_SGP30_Datasheet_EN.pdf>`_. Based on the smbus2 i2c library for ease of use.
It should be compatible with both python 2 and 3 but is currently only tested under Python 2.7
Quick usage-example:
--------------------
@@ -27,16 +28,16 @@ Quick usage-example:
print(sgp.read_measurements())
Current design considerations:
-------------------------------
------------------------------
The class strives to to be light-weight and portable. It is currently a bit to tightly bound to the smbus2 class. In most cases I try to ease of readability rather than purity or speed.
Features that are known to be missing (listing in rough order of importance):
-----------------------------------------------------------------------------
* Fix python3 compatibility.
* The handing of baseline values is not that great, it should probably be up to the end user to save and restore them as needed.
* Write doc-strings for all or at least most methods.
* reading raw-values.
* A more "driver like" class that takes care of all chip identification, polling at regular intervals, restoring baseline and so on.
* Run real hardware tests under Python3
Hardware notices:
-----------------

View File

@@ -11,7 +11,7 @@ with open('LICENSE') as f:
setup(
name='sgp30',
description='Library for reading data from the sensiron SGP30',
version='0.1.4',
version='0.1.5',
long_description=readme,
author='Simon Albinsson',
author_email='pipmon@zinob.se',
@@ -25,9 +25,8 @@ setup(
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
#'Programming Language :: Python :: 3',
#'Programming Language :: Python :: 3.2',
#'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='sgp30 i2c smbus smbus2',
)