setup.py 1.6 KB
Newer Older
1
import pip
davebshow's avatar
davebshow committed
2
from setuptools import setup
3
4
5
6
7
8
9
10
11
from distutils.command.build_py import build_py as _build_py


class build_py(_build_py):
    """Don't install tornado when installing gremlinpython"""
    pip.main([
    'install',
    'git+https://git-wip-us.apache.org/repos/asf/tinkerpop.git@12aa2d2fe534fbd9540c9328725ab844e4bb1010#egg=gremlinpython&subdirectory=gremlin-python/src/main/jython',
    '--no-deps'])
davebshow's avatar
davebshow committed
12
13
14


setup(
davebshow's avatar
davebshow committed
15
    name='aiogremlin',
16
    version='3.2.5rc1',
davebshow's avatar
davebshow committed
17
    url='',
18
    license='Apache Software License',
davebshow's avatar
davebshow committed
19
20
21
22
    author='davebshow',
    author_email='davebshow@gmail.com',
    description='Async Gremlin-Python',
    long_description=open('README.txt').read(),
23
24
25
26
27
    packages=['aiogremlin',
              'aiogremlin.driver',
              'aiogremlin.driver.aiohttp',
              'aiogremlin.process',
              'aiogremlin..structure',
davebshow's avatar
davebshow committed
28
              'aiogremlin.remote'],
29
    cmdclass={'build_py': build_py},
davebshow's avatar
davebshow committed
30
    install_requires=[
31
        'aenum==1.4.5',  # required gremlinpython dep
davebshow's avatar
davebshow committed
32
        'aiohttp==1.3.3',
33
34
        'PyYAML==3.12',
        'six==1.10.0'  # required gremlinpython dep
davebshow's avatar
davebshow committed
35
    ],
davebshow's avatar
davebshow committed
36
37
38
    test_suite='tests',
    setup_requires=['pytest-runner'],
    tests_require=['pytest-asyncio', 'pytest', 'mock'],
davebshow's avatar
davebshow committed
39
    classifiers=[
davebshow's avatar
davebshow committed
40
        'Development Status :: 4 - Beta',
davebshow's avatar
davebshow committed
41
        'Intended Audience :: Developers',
davebshow's avatar
davebshow committed
42
        'License :: OSI Approved :: Apache Software License',
davebshow's avatar
davebshow committed
43
44
45
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
davebshow's avatar
davebshow committed
46
        'Programming Language :: Python :: 3.5',
davebshow's avatar
davebshow committed
47
48
49
        'Programming Language :: Python :: 3 :: Only'
    ]
)