Move description read-in beneath metadata
This commit is contained in:
12
setup.py
12
setup.py
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user