Remove Python 2.6 support code
This commit is contained in:
parent
1fd2a15273
commit
da901efbf7
@ -3,14 +3,11 @@ try:
|
||||
except ImportError:
|
||||
from urllib.parse import urlparse
|
||||
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError: # pragma: no cover
|
||||
from ordereddict import OrderedDict
|
||||
from collections import OrderedDict, Sequence
|
||||
from hashlib import sha1
|
||||
|
||||
from six import string_types
|
||||
from collections import Sequence
|
||||
from hashlib import sha1
|
||||
|
||||
|
||||
QUERY_STEP = 1000
|
||||
row_type = OrderedDict
|
||||
|
||||
11
setup.py
11
setup.py
@ -1,11 +1,6 @@
|
||||
import sys
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
py26_dependency = []
|
||||
if sys.version_info[:2] <= (2, 6):
|
||||
py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"]
|
||||
|
||||
setup(
|
||||
name='dataset',
|
||||
version='1.0.2',
|
||||
@ -36,8 +31,10 @@ setup(
|
||||
'alembic >= 0.6.2',
|
||||
'normality >= 0.3.9',
|
||||
"six >= 1.7.3"
|
||||
] + py26_dependency,
|
||||
tests_require=[],
|
||||
],
|
||||
tests_require=[
|
||||
'nose'
|
||||
],
|
||||
test_suite='test',
|
||||
entry_points={}
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user