Skip to content

Video editing with Python

setup.py fix for 2.7

Zulko8bfd00d91174
diff --git a/setup.py b/setup.py
index 24f4ab07..4327edf7 100644
--- a/setup.py
+++ b/setup.py
@@ -63,7 +63,7 @@ exec(open('moviepy/version.py').read()) # loads __version__
# Define the requirements for specific execution needs.
requires = [
'decorator>=4.0.2,<5.0',
- 'imageio>=2.5,<3.0',
+ 'imageio>=2.5,<3.0; python_version>='3.4'',
"imageio>=2.0,<2.5; python_version<'3.4'",
"imageio_ffmpeg>=0.2.0; python_version>='3.4'",
'tqdm>=4.11.2,<5.0',