summaryrefslogtreecommitdiffstats
path: root/setup.cfg
blob: 618e5a7c5a2f11cb7f15019e46ef8a23fcefda09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# SPDX-FileCopyrightText: 2013 The freestyle-hid Authors
#
# SPDX-License-Identifier: Apache-2.0

[metadata]
name = freestyle-hid
description = Python implementation of the HID protocol used by Abbott FreeStyle devices
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/glucometers-tech/freestyle-hid
author = Diego Elio Pettenò
author_email = flameeyes@flameeyes.com
license = Apache-2.0
license_files =
    AUTHORS
    LICENSE
    LICENSES/*
classifiers =
    Development Status :: 4 - Beta
    Environment :: Console
    Intended Audience :: Developers
    Intended Audience :: Developers
    License :: OSI Approved :: Apache Software License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 3
    Topic :: Scientific/Engineering :: Medical Science Apps.
keywords =
    glucometer
    diabetes
    freestyle
    abbott

[options]
packages = find:
install_requires =
    construct
python_requires = ~= 3.7

[options.extras_require]
hidapi =
    hidapi
tools =
    click
    click_log
    usbmon-tools
dev =
    mypy
    pre-commit
    pytest-mypy
    pytest-timeout>=1.3.0
    pytest>=6.0
    setuptools_scm

[options.package_data]
* = py.typed

[options.entry_points]
console_scripts =
    freestyle-hid-console = freestyle_hid.tools.hid_console:main [tools]
    freestyle-encrypted-setup-extract = freestyle_hid.tools.encrypted_setup_extract:main [tools]
    freestyle-extract-chatter = freestyle_hid.tools.extract_chatter:main [tools]

[flake8]
max-line-length = 88
# Ignore long line errors, black takes care of them.
extend-ignore = E501