|
2 | 2 | import sys |
3 | 3 | from setuptools import setup |
4 | 4 |
|
5 | | -install_requires = [ |
6 | | - "six >= 1.9.0", |
7 | | - "requests", |
8 | | -] |
| 5 | +install_requires = ["six >= 1.9.0", "requests"] |
9 | 6 |
|
10 | 7 | extras_require = { |
11 | 8 | "pandas": ["pandas"], |
|
18 | 15 | if sys.version_info < (2, 6): |
19 | 16 | install_requires.append("simplejson >= 3.3.0") |
20 | 17 |
|
21 | | -with io.open('README.md', encoding='utf-8') as f: |
| 18 | +with io.open("README.md", encoding="utf-8") as f: |
22 | 19 | long_description = f.read() |
23 | 20 |
|
24 | 21 | setup( |
25 | | - name='pydruid', |
26 | | - version='0.999.0dev', |
27 | | - author='Druid Developers', |
28 | | - |
29 | | - packages=['pydruid', 'pydruid.db', 'pydruid.utils'], |
30 | | - url='https://pypi.python.org/pypi/pydruid/', |
31 | | - license='Apache License, Version 2.0', |
32 | | - description='A Python connector for Druid.', |
| 22 | + name="pydruid", |
| 23 | + version="0.999.0dev", |
| 24 | + author="Druid Developers", |
| 25 | + |
| 26 | + packages=["pydruid", "pydruid.db", "pydruid.utils"], |
| 27 | + url="https://pypi.python.org/pypi/pydruid/", |
| 28 | + license="Apache License, Version 2.0", |
| 29 | + description="A Python connector for Druid.", |
33 | 30 | long_description=long_description, |
34 | | - long_description_content_type='text/markdown', |
| 31 | + long_description_content_type="text/markdown", |
35 | 32 | install_requires=install_requires, |
36 | 33 | extras_require=extras_require, |
37 | | - setup_requires=['pytest-runner'], |
38 | | - tests_require=['pytest', 'six', 'mock'], |
| 34 | + setup_requires=["pytest-runner"], |
| 35 | + tests_require=["pytest", "six", "mock"], |
39 | 36 | entry_points={ |
40 | | - 'console_scripts': [ |
41 | | - 'pydruid = pydruid.console:main', |
42 | | - ], |
43 | | - 'sqlalchemy.dialects': [ |
44 | | - 'druid = pydruid.db.sqlalchemy:DruidHTTPDialect', |
45 | | - 'druid.http = pydruid.db.sqlalchemy:DruidHTTPDialect', |
46 | | - 'druid.https = pydruid.db.sqlalchemy:DruidHTTPSDialect', |
| 37 | + "console_scripts": ["pydruid = pydruid.console:main"], |
| 38 | + "sqlalchemy.dialects": [ |
| 39 | + "druid = pydruid.db.sqlalchemy:DruidHTTPDialect", |
| 40 | + "druid.http = pydruid.db.sqlalchemy:DruidHTTPDialect", |
| 41 | + "druid.https = pydruid.db.sqlalchemy:DruidHTTPSDialect", |
47 | 42 | ], |
48 | 43 | }, |
49 | 44 | include_package_data=True, |
50 | 45 | classifiers=[ |
51 | 46 | "License :: OSI Approved :: Apache Software License", |
52 | 47 | "Programming Language :: Python", |
53 | | - "Programming Language :: Python :: 2", |
54 | | - "Programming Language :: Python :: 2.7", |
55 | 48 | "Programming Language :: Python :: 3", |
56 | | - "Programming Language :: Python :: 3.4", |
| 49 | + "Programming Language :: Python :: 3.5", |
57 | 50 | "Programming Language :: Python :: 3.6", |
| 51 | + "Programming Language :: Python :: 3.7", |
58 | 52 | ], |
59 | 53 | ) |
0 commit comments