Skip to content

Commit b10c29c

Browse files
author
Bobrock
committed
Move description read-in beneath metadata
1 parent 84ed848 commit b10c29c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ def find_version(*file_paths):
1818
raise RuntimeError("Unable to find version string.")
1919

2020

21-
here = os.path.abspath(os.path.dirname(__file__))
22-
# read the contents of your README file
23-
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
24-
long_description = f.read()
25-
26-
2721
# Package meta-data.
2822
NAME = 'reolink_api'
2923
DESCRIPTION = 'Reolink Camera API written in Python 3.6'
@@ -41,6 +35,12 @@ def find_version(*file_paths):
4135
]
4236

4337

38+
here = os.path.abspath(os.path.dirname(__file__))
39+
# read the contents of your README file
40+
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
41+
long_description = f.read()
42+
43+
4444
setup(
4545
name=NAME,
4646
python_requires='>=3.6.0',

0 commit comments

Comments
 (0)