File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,3 @@ def get_methods(cls):
54
54
for name , method in inspect .getmembers (cls ,
55
55
predicate = inspect .isfunction ):
56
56
yield name , method
57
-
58
-
59
- if sys .version_info [:2 ] == (2 , 6 ):
60
- from ordereddict import OrderedDict
61
- import simplejson as json
62
- else :
63
- from collections import OrderedDict
64
- import json
Original file line number Diff line number Diff line change 7
7
from setuptools import setup , find_packages
8
8
9
9
10
- requires = []
11
-
12
-
13
- if sys .version_info [:2 ] == (2 , 6 ):
14
- # For python2.6 we have a few other dependencies.
15
- # First we need an ordered dictionary so we use the
16
- # 2.6 backport.
17
- requires .append ('ordereddict==1.1' )
18
- # Then we need simplejson. This is because we need
19
- # a json version that allows us to specify we want to
20
- # use an ordereddict instead of a normal dict for the
21
- # JSON objects. The 2.7 json module has this. For 2.6
22
- # we need simplejson.
23
- requires .append ('simplejson==3.3.0' )
24
-
25
-
26
10
setup (
27
11
name = 'jmespath' ,
28
12
version = '0.7.0' ,
33
17
url = 'https://github.com/jmespath/jmespath.py' ,
34
18
scripts = ['bin/jp.py' ],
35
19
packages = find_packages (exclude = ['tests' ]),
36
- install_requires = requires ,
37
20
classifiers = (
38
21
'Development Status :: 5 - Production/Stable' ,
39
22
'Intended Audience :: Developers' ,
You can’t perform that action at this time.
0 commit comments