We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a96d37 commit f8b3962Copy full SHA for f8b3962
setup.py
@@ -10,6 +10,16 @@
10
ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1))
11
)
12
13
+requirements = [
14
+ "six>=1.10.0",
15
+ "graphene>=2.1.3",
16
+ "SQLAlchemy",
17
+ "singledispatch>=3.4.0.3",
18
+]
19
+try:
20
+ import Enum
21
+except ImportError:
22
+ requirements.append("enum34 >= 1.1.6")
23
24
setup(
25
name="graphene-sqlalchemy",
@@ -36,11 +46,6 @@
36
46
],
37
47
keywords="api graphql protocol rest relay graphene",
38
48
packages=find_packages(exclude=["tests"]),
39
- install_requires=[
40
- "six>=1.10.0",
41
- "graphene>=2.1.3",
42
- "SQLAlchemy",
43
- "singledispatch>=3.4.0.3",
44
- ],
49
+ install_requires=requirements,
45
50
tests_require=["pytest>=2.7.2", "mock", "sqlalchemy_utils"],
51
0 commit comments