File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 10
10
ast .literal_eval (_version_re .search (f .read ().decode ("utf-8" )).group (1 ))
11
11
)
12
12
13
+ requirements = [
14
+ # To keep things simple, we only support newer versions of Graphene
15
+ "graphene>=2.1.3,<3" ,
16
+ # Tests fail with 1.0.19
17
+ "SQLAlchemy>=1.1,<2" ,
18
+ "six>=1.10.0,<2" ,
19
+ "singledispatch>=3.4.0.3,<4" ,
20
+ ]
21
+ try :
22
+ import Enum
23
+ except ImportError :
24
+ requirements .append ("enum34 >= 1.1.6" )
25
+
13
26
tests_require = [
14
27
"pytest==4.3.1" ,
15
28
"mock==2.0.0" ,
42
55
],
43
56
keywords = "api graphql protocol rest relay graphene" ,
44
57
packages = find_packages (exclude = ["tests" ]),
45
- install_requires = [
46
- # To keep things simple, we only support newer versions of Graphene
47
- "graphene>=2.1.3,<3" ,
48
- # Tests fail with 1.0.19
49
- "SQLAlchemy>=1.1,<2" ,
50
- "six>=1.10.0,<2" ,
51
- "singledispatch>=3.4.0.3,<4" ,
52
- ],
58
+ install_requires = requirements ,
53
59
extras_require = {
54
60
"dev" : [
55
61
"tox==3.7.0" , # Should be kept in sync with tox.ini
You can’t perform that action at this time.
0 commit comments