#
# Copyright 2017 University of Southern California
# Distributed under the Apache License, Version 2.0. See LICENSE for more info.
#

""" Installation script for the deriva_common module.
"""

from setuptools import setup, find_packages
import re
import io

__version__ = re.search(
    r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
    io.open('deriva_common/__init__.py', encoding='utf_8_sig').read()
    ).group(1)

setup(
    name="deriva_common",
    description="Shared library functions for Python-based DERIVA platform code",
    url='https://github.com/informatics-isi-edu/deriva-py/deriva_common',
    maintainer='USC Information Sciences Institute ISR Division',
    maintainer_email='misd-support@isi.edu',
    version=__version__,
    packages=find_packages(),
    package_data={},
    test_suite='test',
    requires=[
        'os',
        'sys',
        'time',
        'datetime',
        'platform',
        'logging',
        'hashlib',
        'base64',
        'errno',
        'json',
        'mimetypes',
        'requests',
        'pika',
        'portalocker'],
#    install_requires=[
#        'requests',
#        'pika',
#        'portalocker'
#    ],
    license='Apache 2.0',
    classifiers=[
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        "Operating System :: POSIX",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows",
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5'
    ]
)


@@ -1079,17 +1079,16 @@
 cker'%5D,%0A
-#
     inst
@@ -1102,17 +1102,16 @@
 uires=%5B%0A
-#
         
@@ -1122,17 +1122,16 @@
 uests',%0A
-#
         
@@ -1138,17 +1138,16 @@
 'pika',%0A
-#
         
@@ -1160,17 +1160,16 @@
 locker'%0A
-#
     %5D,%0A 

Allow deps to be pulled in by pip/setuptools.