Skip to content

Commit 6082495

Browse files
committed
Add long description
1 parent 8559af1 commit 6082495

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
#!/usr/bin/env python3
2-
32
import os
43
import sys
4+
from codecs import open
55

66
try:
77
from setuptools import setup
88
except ImportError:
99
from distutils.core import setup
1010

11+
here = os.path.abspath(os.path.dirname(__file__))
12+
13+
# Get the long description from the relevant file
14+
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as desc:
15+
long_description = desc.read()
16+
1117
if sys.argv[-1] == 'publish':
1218
os.system('python3 setup.py sdist upload')
1319
sys.exit()
@@ -16,6 +22,7 @@
1622
name='netdata',
1723
version='0.0.1',
1824
description='Python API for interacting with Netdata.',
25+
long_description=long_description,
1926
url='https://github.com/fabaff/python-netdata',
2027
download_url='https://github.com/fabaff/python-netdata/releases',
2128
author='Fabian Affolter',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy