From 21bd3641d69a8558fd75195a76ead8f07101768a Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Tue, 28 Jan 2020 13:50:01 -0800 Subject: Split main file into separate chunks --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index ef1c0bd..81cb54f 100644 --- a/setup.py +++ b/setup.py @@ -26,13 +26,13 @@ here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md'), 'r') as fr: long_description = fr.read() -version = {} +version_file = {} with open(path.join(here, 'wikiget', 'version.py'), 'r') as fv: - exec(fv.read(), version) + exec(fv.read(), version_file) setup( name='wikiget', - version=version['__version__'], + version=version_file['__version__'], author='Cody Logan', author_email='clpo13@gmail.com', description='CLI tool for downloading files from MediaWiki sites', -- cgit v1.2.3