Skip to content

Commit d0e506a

Browse files
authored
chore: signal for py<3.5 support deprecation (#188)
1 parent 8082966 commit d0e506a

File tree

2 files changed

+22
-28
lines changed

2 files changed

+22
-28
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.4"
3+
- "3.5"
54
- "3.6"
5+
- "3.7"
66
install:
77
- pip install flake8==3.5.0
88
- python setup.py install

setup.py

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
import sys
33
from setuptools import setup
44

5-
install_requires = [
6-
"six >= 1.9.0",
7-
"requests",
8-
]
5+
install_requires = ["six >= 1.9.0", "requests"]
96

107
extras_require = {
118
"pandas": ["pandas"],
@@ -18,42 +15,39 @@
1815
if sys.version_info < (2, 6):
1916
install_requires.append("simplejson >= 3.3.0")
2017

21-
with io.open('README.md', encoding='utf-8') as f:
18+
with io.open("README.md", encoding="utf-8") as f:
2219
long_description = f.read()
2320

2421
setup(
25-
name='pydruid',
26-
version='0.999.0dev',
27-
author='Druid Developers',
28-
author_email='[email protected]',
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+
author_email="[email protected]",
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.",
3330
long_description=long_description,
34-
long_description_content_type='text/markdown',
31+
long_description_content_type="text/markdown",
3532
install_requires=install_requires,
3633
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"],
3936
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",
4742
],
4843
},
4944
include_package_data=True,
5045
classifiers=[
5146
"License :: OSI Approved :: Apache Software License",
5247
"Programming Language :: Python",
53-
"Programming Language :: Python :: 2",
54-
"Programming Language :: Python :: 2.7",
5548
"Programming Language :: Python :: 3",
56-
"Programming Language :: Python :: 3.4",
49+
"Programming Language :: Python :: 3.5",
5750
"Programming Language :: Python :: 3.6",
51+
"Programming Language :: Python :: 3.7",
5852
],
5953
)

0 commit comments

Comments
 (0)