Video editing with Python
Remove tqdm as a dependency (#1090)
Tom Burrows30bd852b1c41
diff --git a/Dockerfile b/Dockerfileindex 06bae5bb..530ca094 100644--- a/Dockerfile+++ b/Dockerfile@@ -13,7 +13,7 @@ RUN apt-get install -y locales && \ENV LC_ALL C.UTF-8# do we need all of these, maybe remove some of them?-RUN pip install imageio numpy scipy matplotlib pandas sympy nose decorator tqdm pillow pytest requests+RUN pip install imageio numpy scipy matplotlib pandas sympy nose decorator proglog pillow pytest requests# install scikit-image after the other deps, it doesn't cause errors this way.RUN pip install scikit-image sklearndiff --git a/README.rst b/README.rstindex 59465f40..b1f79ef7 100644--- a/README.rst+++ b/README.rst@@ -53,7 +53,7 @@ As there are more and more people seeking support (320 open issues as of Sept. 2Installation-------------MoviePy depends on the Python modules Numpy_, imageio_, Decorator_, and tqdm_, which will be automatically installed during MoviePy's installation. The software FFMPEG should be automatically downloaded/installed (by imageio) during your first use of MoviePy (installation will take a few seconds). If you want to use a specific version of FFMPEG, follow the instructions in ``config_defaults.py``. In case of trouble, provide feedback.+MoviePy depends on the Python modules NumPy_, Imageio_, Decorator_, and Proglog_, which will be automatically installed during MoviePy's installation. The software FFMPEG should be automatically downloaded/installed (by imageio) during your first use of MoviePy (installation will take a few seconds). If you want to use a specific version of FFMPEG, follow the instructions in ``config_defaults.py``. In case of trouble, provide feedback.**Installation by hand:** download the sources, either from PyPI_ or, if you want the development version, from GitHub_, unzip everything into one folder, open a terminal and type:@@ -225,7 +225,7 @@ Maintainers.. _imageio: https://imageio.github.io/.. _`Scikit Image`: https://scikit-image.org/docs/stable/install.html.. _Decorator: https://pypi.python.org/pypi/decorator-.. _tqdm: https://github.com/noamraph/tqdm+.. _proglog: https://github.com/Edinburgh-Genome-Foundry/Proglog.. _ffmpeg: https://www.ffmpeg.org/download.html.. _ImageMagick: https://www.imagemagick.org/script/index.php.. _`Matplotlib`: https://matplotlib.org/diff --git a/docs/install.rst b/docs/install.rstindex ebd99be0..6a9402fc 100644--- a/docs/install.rst+++ b/docs/install.rst@@ -19,7 +19,7 @@ If you have neither ``setuptools`` nor ``ez_setup`` installed the command above(sudo) python setup.py install-MoviePy depends on the Python modules Numpy_, imageio_, Decorator_, and tqdm_, which will be automatically installed during MoviePy's installation. It should work on Windows/Mac/Linux, with Python 2.7+ and 3 ; if you have trouble installing MoviePy or one of its dependencies, please provide feedback !+MoviePy depends on the Python modules NumPy_, Imageio_, Decorator_, and Proglog_, which will be automatically installed during MoviePy's installation. It should work on Windows/Mac/Linux, with Python 2.7+ and 3 ; if you have trouble installing MoviePy or one of its dependencies, please provide feedback !MoviePy depends on the software FFMPEG for video reading and writing. You don't need to worry about that, as FFMPEG should be automatically downloaded/installed by ImageIO during your first use of MoviePy (it takes a few seconds). If you want to use a specific version of FFMPEG, you can set the FFMPEG_BINARY environment variable See ``moviepy/config_defaults.py`` for details.@@ -49,8 +49,8 @@ For advanced image processing you will need one or several of these packages. FoIf you are on linux, these packages will likely be in your repos... _`Numpy`: https://www.scipy.org/install.html-.. _Decorator: https://pypi.python.org/pypi/decorator-.. _tqdm: https://pypi.python.org/pypi/tqdm+.. _decorator: https://pypi.python.org/pypi/decorator+.. _proglog: https://pypi.org/project/proglog/.. _ffmpeg: https://www.ffmpeg.org/download.htmldiff --git a/moviepy/Clip.py b/moviepy/Clip.pyindex dfd21373..fb3ea2cb 100644--- a/moviepy/Clip.py+++ b/moviepy/Clip.py@@ -8,7 +8,6 @@ from copy import copyimport numpy as npimport proglog-from tqdm import tqdmfrom moviepy.decorators import (apply_to_audio,diff --git a/moviepy/audio/AudioClip.py b/moviepy/audio/AudioClip.pyindex 95b18306..e722d4dd 100644--- a/moviepy/audio/AudioClip.py+++ b/moviepy/audio/AudioClip.py@@ -2,7 +2,6 @@ import osimport numpy as npimport proglog-from tqdm import tqdmfrom moviepy.audio.io.ffmpeg_audiowriter import ffmpeg_audiowritefrom moviepy.Clip import Clipdiff --git a/setup.py b/setup.pyindex c6e41a24..39d1c10f 100644--- a/setup.py+++ b/setup.py@@ -72,7 +72,6 @@ requires = ["decorator>=4.0.2,<5.0","imageio>=2.5,<3.0","imageio_ffmpeg>=0.2.0",- "tqdm>=4.11.2,<5.0","numpy>=1.17.3","requests>=2.8.1,<3.0","proglog<=1.0.0",