Skip to content

Commit 0e112ca

Browse files
committed
Add long_description
1 parent a5eb25b commit 0e112ca

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

setup.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,29 @@
55
Licensed under MIT. All rights reserved.
66
"""
77
import os
8+
from os import path
9+
810
import sys
911

1012
try:
1113
from setuptools import setup
1214
except ImportError:
1315
from distutils.core import setup
1416

17+
here = path.abspath(path.dirname(__file__))
18+
19+
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
20+
long_description = f.read()
21+
1522
if sys.argv[-1] == 'publish':
1623
os.system('python3 setup.py sdist upload')
1724
sys.exit()
1825

1926
setup(
2027
name='luftdaten',
21-
version='0.1.3',
28+
version='0.1.4',
2229
description='Python API for interacting with luftdaten.info.',
30+
long_description=long_description,
2331
url='https://github.com/fabaff/python-luftdaten',
2432
download_url='https://github.com/fabaff/python-luftdaten/releases',
2533
author='Fabian Affolter',

0 commit comments

Comments
 (0)