summaryrefslogtreecommitdiffstats
path: root/setup.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* glucomenareo: new driver added.Diego Elio Pettenò2021-03-271-0/+1
| | | | | | | This driver supports GlucoMen areo by A. Menarini Diagnostics. It possibly works with the GlucoMen Areo 2K but it is untested with it, and does not support reporting Ketone readings.
* freestyle: use freestyle-hid 1.0.2 encoding parameter.Diego Elio Pettenò2021-03-031-3/+3
| | | | | This allows FreeStyle Libre devices to use UTF-8 patient names, while not risking to brick older models that might just support ASCII.
* td42xx: updat eextra definition in setup.py.Diego Elio Pettenò2021-02-251-1/+1
|
* Spell freestyle-hid consistently in the dependencies list.Diego Elio Pettenò2020-10-041-3/+3
|
* Remove pytest-flake8 from configuration.Diego Elio Pettenò2020-10-041-1/+0
| | | | flake8 is now run as pre-commit.
* Move console_scripts definition to setup.cfg.Diego Elio Pettenò2020-10-041-1/+0
|
* Depend on freestyle-hid for FreeStyle support and remove tools.Diego Elio Pettenò2020-10-041-5/+3
| | | | | | | | | Instead of maintaining the reversing tools for Abbott FreeStyle devices in this repository, they are now part of their own project (https://github.com/glucometers-tech/freestyle-hid), making it easier to split the dependencies requirements. The basic I/O of the FreeStyle session is also implemented in that library.
* td4277: update dependency information for pyserial.Diego Elio Pettenò2020-09-211-1/+1
| | | | | Now that there's an actual release (even if beta) that supports the CP2110, we can depend on it with the extras enabled.
* Update pre-commit plugins to the latest versions as of today.Diego Elio Pettenò2020-09-071-2/+1
|
* Update otverio2015 dependencies to include PYSCSI.Diego Elio Pettenò2020-06-241-1/+1
| | | | | | | Now that PYSCSI v2.0.1 is released, its dependency can be expressed correctly. Also link to PyPI rather than Markus's own fork.
* Move more setup() parameters in setup.cfg.Diego Elio Pettenò2020-05-161-5/+1
| | | | This leaves only very few parameters to setup(), one of which is calculated programmatically so cannot be moved at all.
* Run flake8 and mypy as part of pytest, but on 3.8 only.Diego Elio Pettenò2020-04-091-0/+2
| | | | | | There's no need to run mypy and flake8 on multiple Python versions, since they are independent. So instead prefer running them on the most recent stable release.
* Add missing SPDX-FileCopyrightText throughout the project.Diego Elio Pettenò2020-03-271-0/+1
| | | | This is following the advice provided in https://matija.suklje.name/how-and-why-to-properly-write-copyright-statements-in-your-code
* Fix errors identified by flake8.Diego Elio Pettenò2020-03-261-3/+4
|
* Use setuptools_scm to handle the packaging and versioning.Diego Elio Pettenò2020-03-251-0/+2
|
* Remove `tests_require` from `setup.py`.Diego Elio Pettenò2020-03-251-12/+8
| | | | | | | This field is deprecated together with the `test` command. Instead, rely on the `dev` extra — which is what Travis CI is already using to install the right set of dependencies.
* Remove support for `setup.py test`.Diego Elio Pettenò2020-03-251-13/+0
| | | | | | | | As per https://github.com/pypa/setuptools/issues/1684, the test command in setuptools is deprecated, so let's not go out of our way to have it work correctly. Travis is not depending on this feature at all.
* Move static descriptions to `setup.cfg` simplifying `setup.py`.Diego Elio Pettenò2020-03-251-23/+0
| | | | | This removes a number of fixed strings from the Python side of the setup, and prefers referencing the `README.md` file by name.
* 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