diff options
-rw-r--r-- | setup.py | 55 |
1 files changed, 33 insertions, 22 deletions
@@ -1,27 +1,38 @@ # -*- coding: utf-8 -*- -from distutils.core import setup +from setuptools import setup, find_packages setup( - name = 'glucometerutils', - packages = ['glucometerutils', 'glucometerutils.drivers', 'glucometerutils.support'], - scripts = ['glucometer.py'], - 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.', - ], + 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'], + }, + entry_points = { + 'console_scripts': [ + 'glucometer=glucometerutils.glucometer:main' + ] + }, ) |