From 9bcdcbda2b5e34c204976e7b43de62f9ac7bd591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 1 Jun 2020 18:10:07 -0500 Subject: pep8 --- setup.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 01b6f44..b41ceb4 100644 --- a/setup.py +++ b/setup.py @@ -1,17 +1,20 @@ import os import sys -version = '1.0.1' +from lvc.variables import ( + __version__ +) + # platform-independent arguments for setup() setup_args = { 'name': 'librevideoconverter', - 'description': 'A simple video converter for WebM (vp8, vp9), Ogg Theora, MP4 and others', - 'author': 'Jesus Eduardo (Heckyel)', + 'description': 'A simple video converter for WebM, Ogg Theora and others', + 'author': 'Jesus E.', 'author_email': 'heckyel@riseup.net', 'url': 'https://notabug.org/heckyel/librevideoconverter', - 'license': 'GPL', - 'version': version, + 'license': 'GPL-3', + 'version': __version__, 'packages': [ 'lvc', 'lvc.osx', @@ -44,7 +47,7 @@ root_dir = os.path.abspath(os.path.dirname(__file__)) setup_dir = os.path.join(root_dir, 'setup-files', platform) script_vars = { - 'VERSION': version, + 'VERSION': __version__, 'ROOT_DIR': root_dir, 'SETUP_DIR': setup_dir, 'SETUP_ARGS': setup_args, -- cgit v1.2.3