Move description read-in beneath metadata

This commit is contained in:
Bobrock
2020-12-18 08:50:32 -06:00
parent 84ed8481e2
commit b10c29c6be

View File

@@ -18,12 +18,6 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.") 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. # Package meta-data.
NAME = 'reolink_api' NAME = 'reolink_api'
DESCRIPTION = 'Reolink Camera API written in Python 3.6' 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( setup(
name=NAME, name=NAME,
python_requires='>=3.6.0', python_requires='>=3.6.0',