From cf42883c7050d5aeefcfddf666e63643b0e525d7 Mon Sep 17 00:00:00 2001 From: sota_masuda Date: Sun, 16 Jan 2022 23:37:12 +0900 Subject: [PATCH] mv version str from setup.py to ffmpeg/__init__.py --- ffmpeg/__init__.py | 2 ++ setup.py | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ffmpeg/__init__.py b/ffmpeg/__init__.py index a88d344..4809b67 100644 --- a/ffmpeg/__init__.py +++ b/ffmpeg/__init__.py @@ -20,3 +20,5 @@ __all__ = ( + _view.__all__ + _filters.__all__ ) + +__version__ = "0.2.0" diff --git a/setup.py b/setup.py index 0282c67..01e240a 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,12 @@ +from tabnanny import verbose from setuptools import setup from textwrap import dedent -version = '0.2.0' + +import ffmpeg + + +version = ffmpeg.__version__ download_url = 'https://github.com/kkroening/ffmpeg-python/archive/v{}.zip'.format( version )