From b10c29c6be80c4e00afd4645a860c6768d8059e3 Mon Sep 17 00:00:00 2001 From: Bobrock Date: Fri, 18 Dec 2020 08:50:32 -0600 Subject: [PATCH] Move description read-in beneath metadata --- setup.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index e89fd5b..5a7c521 100644 --- a/setup.py +++ b/setup.py @@ -18,12 +18,6 @@ def find_version(*file_paths): raise RuntimeError("Unable to find version string.") -here = os.path.abspath(os.path.dirname(__file__)) -# read the contents of your README file -with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: - long_description = f.read() - - # Package meta-data. NAME = 'reolink_api' DESCRIPTION = 'Reolink Camera API written in Python 3.6' @@ -41,6 +35,12 @@ INSTALL_REQUIRES = [ ] +here = os.path.abspath(os.path.dirname(__file__)) +# read the contents of your README file +with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + + setup( name=NAME, python_requires='>=3.6.0',