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',