File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
-
3
2
import os
4
3
import sys
4
+ from codecs import open
5
5
6
6
try :
7
7
from setuptools import setup
8
8
except ImportError :
9
9
from distutils .core import setup
10
10
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
+
11
17
if sys .argv [- 1 ] == 'publish' :
12
18
os .system ('python3 setup.py sdist upload' )
13
19
sys .exit ()
16
22
name = 'netdata' ,
17
23
version = '0.0.1' ,
18
24
description = 'Python API for interacting with Netdata.' ,
25
+ long_description = long_description ,
19
26
url = 'https://github.com/fabaff/python-netdata' ,
20
27
download_url = 'https://github.com/fabaff/python-netdata/releases' ,
21
28
author = 'Fabian Affolter' ,
You can’t perform that action at this time.
0 commit comments