Video editing with Python
Actually delete compat.py; remove another Py2/3 check
Tom Burrows88b95cdbe6b2
diff --git a/moviepy/compat.py b/moviepy/compat.pydeleted file mode 100644index e97b11bb..00000000--- a/moviepy/compat.py+++ /dev/null@@ -1,14 +0,0 @@-import os-import sys--PY3=sys.version_info.major >= 3--try:- string_types = (str, unicode) # Python 2-except NameError:- string_types = (str) # Python 3--try:- from subprocess import DEVNULL # Python 3-except ImportError:- DEVNULL = open(os.devnull, 'wb') # Python 2diff --git a/moviepy/config.py b/moviepy/config.pyindex b777a0d0..710a3c8c 100644--- a/moviepy/config.py+++ b/moviepy/config.py@@ -4,10 +4,7 @@ import subprocess as spfrom .config_defaults import FFMPEG_BINARY, IMAGEMAGICK_BINARYif os.name == 'nt':- try:- import winreg as wr # py3k- except ImportError:- import _winreg as wr # py2k+ import winreg as wrdef try_cmd(cmd):