summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 5da8086bf4e63225c032b6c736a488a525c94ece (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
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

setup(
    name = 'glucometerutils',
    version = '1',
    description = 'Glucometer access utilities',
    author = 'Diego Elio Pettenò',
    author_email = 'flameeyes@flameeyes.eu',
    url = 'https://www.flameeyes.eu/p/glucometerutils',
    download_url = 'https://www.flameeyes.eu/files/glucometerutils.tgz',
    keywords = ['glucometer', 'diabetes'],
    python_requires = '~=3.4',
    classifiers = [
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
        'Intended Audience :: End Users/Desktop',
        'Topic :: Scientific/Engineering :: Medical Science Apps.',
    ],
    packages = find_packages(
        exclude=['test', 'udev']),
    data_files = [
        ('lib/udev/rules', ['udev/69-glucometerutils.rules']),
    ],
    extras_require = {
        'test': ['abseil-py'],
        # These are all the drivers' dependencies. Optional dependencies are
        # listed as mandatory for the feature.
        'otultra2': ['pyserial'],
        'otultraeasy': ['pyserial'],
        'otverio2015': ['python-scsi'],
        'fsinsulinx': ['hidapi'],
        'fslibre': ['hidapi'],
        'fsoptium': ['pyserial'],
        'fsprecisionneo': ['hidapi'],
        'accucheck_reports': [],
        'sdcodefree': ['pyserial'],
    },
    entry_points = {
        'console_scripts': [
            'glucometer=glucometerutils.glucometer:main'
        ]
    },
)