summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-12-28 22:10:01 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-12-28 22:10:01 +0100
commit613b2d7c31d51cc143de53812ee63996a2fb18c3 (patch)
tree5e6df4dd8b217e3a04eea0a40807a749acc624db /setup.py
parentRename the shim to match the old name. (diff)
downloadglucometerutils-613b2d7c31d51cc143de53812ee63996a2fb18c3.tar
glucometerutils-613b2d7c31d51cc143de53812ee63996a2fb18c3.tar.gz
glucometerutils-613b2d7c31d51cc143de53812ee63996a2fb18c3.tar.bz2
glucometerutils-613b2d7c31d51cc143de53812ee63996a2fb18c3.tar.lz
glucometerutils-613b2d7c31d51cc143de53812ee63996a2fb18c3.tar.xz
glucometerutils-613b2d7c31d51cc143de53812ee63996a2fb18c3.tar.zst
glucometerutils-613b2d7c31d51cc143de53812ee63996a2fb18c3.zip
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py55
1 files changed, 33 insertions, 22 deletions
diff --git a/setup.py b/setup.py
index 82a9d07..247a48b 100644
--- a/setup.py
+++ b/setup.py
@@ -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'
+ ]
+ },
)