We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
setup.py
1 parent f10d39a commit ec90b50Copy full SHA for ec90b50
CHANGES.rst
@@ -2,6 +2,11 @@
2
Changelog
3
*********
4
5
+1.8.1
6
+=====
7
+
8
+ - Fix ``setup.py`` to add compatibility with Python 3.4 and below.
9
10
1.8
11
===
12
setup.py
@@ -8,7 +8,6 @@
if sys.version_info.major == 2:
install_requires = [
"Django>=1.7,<2.0",
- "typing",
]
13
elif sys.version_info.major == 3:
14
@@ -17,6 +16,11 @@
17
16
else:
18
raise AssertionError()
19
+if sys.version_info < (3, 5):
20
+ install_requires += [
21
+ "typing",
22
+ ]
23
24
25
class PyTest(TestCommand):
26
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
0 commit comments