Passed
Push — master ( 4b611a...cd1a4a )
by Jeffrey
01:43
created

setup   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 57
dl 0
loc 65
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A get_long_description() 0 5 2
1
import os
2
import pip
3
from setuptools import setup
4
5
__author__ = 'Jeffrey Phillips Freeman'
6
__email__ = '[email protected]'
7
__license__ = 'Apache License, Version 2.0'
8
__copyright__ = 'Copyright 2017, CleverThis, Inc. and contributors'
9
__credits__ = ['David M. Brown - Project founder']
10
11
def get_long_description():
12
    with open(os.path.join(
13
        os.path.dirname(os.path.abspath(__file__)), 'README.md'
14
    ), encoding='utf8') as fp:
15
        return fp.read()
16
17
setup(
18
    name='aiogremlin',
19
    version='3.3.3',
20
    license=__license__,
21
    author=__author__,
22
    author_email=__email__,
23
    description='An asynchronous DSL for the Gremlin-Python driver',
24
    long_description=get_long_description(),
25
    long_description_content_type='text/markdown',
26
    url='http://goblin-ogm.com',
27
    download_url='https://github.com/goblin-ogm/aiogremlin/archive/v3.3.3.tar.gz',
28
    include_package_data=True,
29
    keywords=['Tinkerpop', 'Tinkerpop3', 'gremlin', 'gremlin-python', 'asyncio', 'graphdb'],
30
    packages=['aiogremlin',
31
              'aiogremlin.driver',
32
              'aiogremlin.driver.aiohttp',
33
              'aiogremlin.process',
34
              'aiogremlin.structure',
35
              'aiogremlin.remote'],
36
    install_requires=[
37
        'gremlinpython<=3.4.3',
38
        'aenum>=1.4.5',  # required gremlinpython dep
39
        'aiohttp>=2.2.5',
40
        'PyYAML>=3.12',
41
        'six>=1.10.0'  # required gremlinpython dep
42
    ],
43
    test_suite='tests',
44
    setup_requires=['pytest-runner'],
45
    tests_require=['pytest-asyncio',
46
                   'pytest-timeout',
47
                   'pytest',
48
                   'mock'],
49
    classifiers=[
50
        'Development Status :: 5 - Production/Stable',
51
        'Intended Audience :: Developers',
52
        'License :: OSI Approved :: Apache Software License',
53
        'Operating System :: OS Independent',
54
        'Programming Language :: Python',
55
        'Programming Language :: Python :: 3',
56
        'Programming Language :: Python :: 3.5',
57
        'Programming Language :: Python :: 3.6',
58
        'Programming Language :: Python :: 3.7',
59
        'Programming Language :: Python :: 3.8',
60
        # uncomment if you test on these interpreters:
61
        # 'Programming Language :: Python :: Implementation :: IronPython',
62
        # 'Programming Language :: Python :: Implementation :: Jython',
63
        # 'Programming Language :: Python :: Implementation :: Stackless',
64
        'Programming Language :: Python :: Implementation :: PyPy'
65
    ]
66
)
67