File: setup.py

package info (click to toggle)
python-hl7 0.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 356 kB
  • ctags: 274
  • sloc: python: 1,301; makefile: 111
file content (63 lines) | stat: -rwxr-xr-x 1,915 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup
import sys

# Avoid directly importing the module. Prevents potential circular
# references when dependency needs to be installed via setup.py, so it
# is not yet available to setup.py
exec(open('hl7/version.py').read())

tests_require = []
if sys.version_info < (3, 0):
    tests_require.extend([
        'unittest2>=0.5.1'
    ])
if sys.version_info < (3, 3):
    tests_require.extend([
        'mock>=1.0.1'
    ])

setup(
    name='hl7',
    version=get_version(),  # noqa
    description='Python library parsing HL7 v2.x messages',
    long_description="""
    python-hl7 is a simple library for parsing messages of Health Level 7
    (HL7) version 2.x into Python objects.

    * Documentation: http://python-hl7.readthedocs.org
    * Source Code: http://github.com/johnpaulett/python-hl7
    """,
    author='John Paulett',
    author_email='john -at- paulett.org',
    url='http://python-hl7.readthedocs.org',
    license='BSD',
    platforms=['POSIX', 'Windows'],
    keywords=[
        'HL7', 'Health Level 7', 'healthcare', 'health care', 'medical record'
    ],
    classifiers=[
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Intended Audience :: Healthcare Industry',
        'Topic :: Communications',
        'Topic :: Scientific/Engineering :: Medical Science Apps.',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    packages=['hl7'],
    install_requires=['six'],
    test_suite='tests',
    tests_require=tests_require,
    entry_points={
        'console_scripts': [
            'mllp_send=hl7.client:mllp_send',
        ],
    },
    zip_safe=True,
)