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


class build_py(_build_py):
    """Don't install tornado when installing gremlinpython"""
8
    def run(self):
9
        pip.main(['install', 'gremlinpython==3.2.5', '--no-deps'])
10
        _build_py.run(self)
davebshow's avatar
davebshow committed
11
12

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