File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 11from 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+
211
312setup (
413 name = "prometheus_client" ,
514 version = "0.7.1" ,
615 author = "Brian Brazil" ,
716817 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' ,
1220 license = "Apache Software License 2.0" ,
1321 keywords = "prometheus monitoring instrumentation client" ,
1422 url = "https://github.com/prometheus/client_python" ,
You can’t perform that action at this time.
0 commit comments