File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 33import re
44import ast
55
6+ try :
7+ from pypandoc import convert
8+ read_md = lambda f : convert (f , 'rst' )
9+ except ImportError :
10+ print ('warning: pypandoc module not found, could not convert Markdown to RST' )
11+ read_md = lambda f : open (f ).read ()
12+
613version_re = re .compile (r'__version__\s+=\s+(.*)' )
714
815with open ('stackify/__init__.py' ) as f :
1522 author = 'Matthew Thompson' ,
1623 author_email = 'chameleonator@gmail.com' ,
1724 packages = ['stackify' ],
18- url = 'https://github.com/stackify/stackify-python' ,
25+ url = 'https://github.com/stackify/stackify-api- python' ,
1926 license = open ('LICENSE.txt' ).readline (),
2027 description = 'Stackify API for Python' ,
21- long_description = open ('README.md' ).read (),
28+ long_description = read_md ('README.md' ),
29+ download_url = 'https://github.com/stackify/stackify-api-python/tarball/0.0.1' ,
30+ keywords = ['logging' , 'stackify' , 'exception' ],
31+ classifiers = ["Programming Language :: Python" ],
2232 install_requires = [
2333 'retrying>=1.2.3' ,
2434 'requests>=2.4.1'
You can’t perform that action at this time.
0 commit comments