summaryrefslogtreecommitdiffstats
path: root/setup.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-12Use [attrs](http://www.attrs.org/) instead of namedtuple for MeterInfo.Diego Elio Pettenò1-0/+3
This avoids having the separate _MeterInfoBase class, and reads much nicer.
2018-03-17construct-code is (almost) uptodateArkadiusz Bulski1-7/+7
2018-02-11construct: the construct API is significantly unstable, fix to 2.8.22 only.Diego Elio Pettenò1-7/+7
This still is required to fix Issue #38, but luckily it's just a test failure for now.
2018-02-11Until Issue #38 is fixed, expect construct 2.8, and not 2.9.Diego Elio Pettenò1-7/+7
The API changed in slightly incompatible ways so I'll have some work to make sure this works on both versions (and that there is some test around it, possibly).
2018-01-07otverioiq: add to the list and to the dependency file.Diego Elio Pettenò1-0/+1
As noted in Issue #30, this is currently untested, but I'm confident it won't take much to get it to working state.
2018-01-01otverio2015: rewrite using construct.Diego Elio Pettenò1-1/+1
This simplifies the code a bit here and there, making sure that the structures are all define at the top of the file. It also align the structure of the driver a bit more with otultraeasy, making it easier to spot the similitudes.
2018-01-01otultraeasy: rewrite using construct for parsing.Diego Elio Pettenò1-1/+1
This removes the wholly complicated _Packet() object and replace it with more readable construct. Unfortunately this appears to reduce performance because of the serial stream buffering, needed to calculate the checksum. It's unfortunate, but it at least avoids a significant amount of custom code.
2017-12-31sdcodefree: rewrite using construct and improve readability.Diego Elio Pettenò1-1/+1
This replaces the use of manual structures with well-defined construct entries; it also give consistency to packet vs message. Log input and output messages, to be clearer.
2017-12-30Use pytest to run testsMuhammad Kaisar Arkhan1-1/+21
Closes https://github.com/Flameeyes/glucometerutils/issues/34
2017-12-28Fix dependency name for absl-py.Diego Elio Pettenò1-1/+1
2017-12-28freestyle: replace the custom struct and bytemangling with construct.Diego Elio Pettenò1-3/+3
This simplifies the code and enforces the validation within the format documentation too. construct can handle the full package verification, including dealing with padding.
2017-12-28deps: correct dependency for fsoptium.Diego Elio Pettenò1-1/+1
2017-12-28Add driver dependencies to setup.py, and document how to install this.Diego Elio Pettenò1-0/+11
This should address Issue 5 (theoretically some of the dependencies are OS-specific but that's a longer problem). Also partially addresses Issue 9 because now we have an easy to understand "install and try out" option.
2017-12-28Rewrite setup.py to use setuptools.Diego Elio Pettenò1-22/+33
This should make it easier to add dependencies and so on.
2017-12-28Fix up link to the site.Diego Elio Pettenò1-1/+1
2017-12-28Raise minimum Python version to 3.4, to allow using the enum module.Diego Elio Pettenò1-0/+1
Supporting older Python is becoming harder, and modern Python is more readable, particularly as it allows for less brittle code.
2017-01-20Include glucometerutils.support in setup.py.Red Daly1-1/+1
2013-08-03setup.py: update license specification.Diego Elio Pettenò1-1/+1
2013-08-03Add utf-8 encoding specification to all files.Diego Elio Pettenò1-0/+2