File tree 1 file changed +11
-3
lines changed 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
from setuptools import setup
2
+ import sys
3
+ from os import path
4
+
5
+ if sys .version_info >= (2 , 7 ):
6
+ with open (path .join (path .abspath (path .dirname (__file__ )), 'README.md' )) as f :
7
+ long_description = f .read ()
8
+ else : # Assuming we don't run setup in order to publish under python 2.6
9
+ long_description = "NA"
10
+
2
11
3
12
setup (
4
13
name = "prometheus_client" ,
5
14
version = "0.7.1" ,
6
15
author = "Brian Brazil" ,
7
16
author_email = "brian.brazil@robustperception.io" ,
8
17
description = "Python client for the Prometheus monitoring system." ,
9
- long_description = (
10
- "See https://github.com/prometheus/client_python/blob/master/README.md"
11
- " for documentation." ),
18
+ long_description = long_description ,
19
+ long_description_content_type = 'text/markdown' ,
12
20
license = "Apache Software License 2.0" ,
13
21
keywords = "prometheus monitoring instrumentation client" ,
14
22
url = "https://github.com/prometheus/client_python" ,
You can’t perform that action at this time.
0 commit comments