Skip to content

Commit 6b9900f

Browse files
Updated setup.py to describe based on readme.md contents.
-Also added python 3.7 to the list. Signed-off-by: David Rebbe <drebbe@intrepidcs.com>
1 parent a0235e7 commit 6b9900f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ def run(self):
6868
else:
6969
compile_args = []
7070

71+
72+
def read(fname):
73+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
74+
7175
module = Extension('ics',
7276
define_macros = [('MAJOR_VERSION', MAJOR_VERSION), ('MINOR_VERSION', MINOR_VERSION)],
7377
include_dirs=['include', 'include/ics', 'include/ice'],
@@ -78,13 +82,8 @@ def run(self):
7882

7983
setup (name = 'python_ics',
8084
version = '%d.%d' % (MAJOR_VERSION, MINOR_VERSION),
81-
description = 'Intrepidcs icsneo40 Python 3 API/Wrapper',
82-
long_description =
83-
"""Python C Code module for interfacing to the icsneo40 dynamic library. Code tries
84-
to respect PEP 8 (https://www.python.org/dev/peps/pep-0008/). Function naming convention does
85-
not follow the tradition c style icsneo40 naming convention as the python_ics module
86-
name acts as the namespace (icsneo portion of the function) and function names
87-
are suppose to be lowercase with underscores instead of mixedCase like icsneo API.""",
85+
description = 'Library for interfacing with Intrepid devices in Python',
86+
long_description = read('README.md'),
8887
license = "MIT",
8988
author = 'David Rebbe',
9089
author_email='drebbe@intrepidcs.com',
@@ -102,4 +101,5 @@ def run(self):
102101
'Programming Language :: Python :: 3.4',
103102
'Programming Language :: Python :: 3.5',
104103
'Programming Language :: Python :: 3.6',
104+
'Programming Language :: Python :: 3.7',
105105
],)

0 commit comments

Comments
 (0)