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

davebshow's avatar
davebshow committed
12

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