summaryrefslogtreecommitdiffstats
path: root/setup.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add an `all` extension that includes all dependencies.Diego Elio Pettenò2020-03-231-21/+32
| | | | This makes it easier in the integration to install all the needed dependencies.
* otverio2015: remove python-scsi from dependencies.Diego Elio Pettenò2020-03-231-1/+1
| | | | The python-scsi module is not installable via pip, so there's no point in listing it as a dependency right now. It's probably better to replace this with a new extension altogether.
* Increase minimum supported Python version to 3.7.Diego Elio Pettenò2020-03-231-1/+1
| | | | This simplifies compatibility with usbmon-tools for the reversing tools, and will allow converting all the type annotations inline, which is less intrusive.
* Add mypy to continuous integration.Diego Elio Pettenò2020-03-161-1/+1
|
* Add the README to the generated pypi package.Diego Elio Pettenò2020-03-161-0/+6
|
* Update minimum Python version.Diego Elio Pettenò2020-03-081-2/+1
|
* add configuration for pre-commit, black and isortBen2020-03-081-53/+48
|
* Add driver implementation for Ascensia ContourUSB.Arvanitis Christos2019-09-251-0/+1
| | | | | | | | | | | Implemented based on the protocol documentation provide by Ascensia, with portions from glucodump by @sm6xmm (relicensed by the author under MIT license.) Squashed from pull request #62. Signed-off-by: Anders Hammarquist <iko@iko.pp.se> Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.com>
* Drop support for Python 3.4.Diego Elio Pettenò2019-09-021-1/+1
| | | | | | | | Python 3.4 lacks the `typing` module, which requires try/catch when importing, making type annotations more verbose than needed. At the time of writing, Debian oldstable has Python 3.5 available, so it sounds like a good default.
* td4277: add to the setup.py dependencies.Diego Elio Pettenò2019-08-061-5/+6
| | | | Also sort the list so that's easier to know where to add it.
* Fix invalid attribute in setup() method.Diego Elio Pettenò2019-07-301-1/+1
|
* Replace epydoc metadata with SPDX identifiers.Diego Elio Pettenò2019-02-081-0/+2
| | | | | | | | | | Most of the epydoc metadata (author, copyright, email) is duplicate in the package's setup.py or README. These copies are more likely to get out of date, and increase the amount of work to keep them in line. The license information should rather be provided with an SPDX identifier, which is more similar to what the Linux kernel and other projects, such as pyserial, do.
* Replace flameeyes.eu with flameeyes.com.Diego Elio Pettenò2019-02-081-3/+3
| | | | | | | | Due to EURid threatening to suspend my domain, make sure that the references are updated to point at the right stable domain. This includes changes to the files as well as a mailmap to update the author references in the log.
* Use [attrs](http://www.attrs.org/) instead of namedtuple for MeterInfo.Diego Elio Pettenò2018-12-121-0/+3
| | | | This avoids having the separate _MeterInfoBase class, and reads much nicer.
* construct-code is (almost) uptodateArkadiusz Bulski2018-03-171-7/+7
|
* construct: the construct API is significantly unstable, fix to 2.8.22 only.Diego Elio Pettenò2018-02-111-7/+7
| | | | | This still is required to fix Issue #38, but luckily it's just a test failure for now.
* Until Issue #38 is fixed, expect construct 2.8, and not 2.9.Diego Elio Pettenò2018-02-111-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).
* otverioiq: add to the list and to the dependency file.Diego Elio Pettenò2018-01-071-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.
* otverio2015: rewrite using construct.Diego Elio Pettenò2018-01-011-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.
* otultraeasy: rewrite using construct for parsing.Diego Elio Pettenò2018-01-011-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.
* sdcodefree: rewrite using construct and improve readability.Diego Elio Pettenò2017-12-311-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.
* Use pytest to run testsMuhammad Kaisar Arkhan2017-12-301-1/+21
| | | | Closes https://github.com/Flameeyes/glucometerutils/issues/34
* Fix dependency name for absl-py.Diego Elio Pettenò2017-12-281-1/+1
|
* freestyle: replace the custom struct and bytemangling with construct.Diego Elio Pettenò2017-12-281-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.
* deps: correct dependency for fsoptium.Diego Elio Pettenò2017-12-281-1/+1
|
* Add driver dependencies to setup.py, and document how to install this.Diego Elio Pettenò2017-12-281-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.
* Rewrite setup.py to use setuptools.Diego Elio Pettenò2017-12-281-22/+33
| | | | This should make it easier to add dependencies and so on.
* Fix up link to the site.Diego Elio Pettenò2017-12-281-1/+1
|
* Raise minimum Python version to 3.4, to allow using the enum module.Diego Elio Pettenò2017-12-281-0/+1
| | | | | Supporting older Python is becoming harder, and modern Python is more readable, particularly as it allows for less brittle code.
* Include glucometerutils.support in setup.py.Red Daly2017-01-201-1/+1
|
* setup.py: update license specification.Diego Elio Pettenò2013-08-031-1/+1
|
* Add utf-8 encoding specification to all files.Diego Elio Pettenò2013-08-031-0/+2
|
* Initial import of the raw data.Diego Elio Pettenò2013-08-031-0/+24