Skip to content

Commit eb27321

Browse files
committed
description for pypi
1 parent 24d6078 commit eb27321

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#Paynova API Python Client
22

3-
This is an overview of the Paynova API Python Client using [Paynova REST API][] (Aero). More in-depth information can be found in the [Wiki][].
4-
[Paynova REST API]: http://docs.paynova.com/display/API/Paynova+API+Home
5-
[Wiki]: https://github.com/Paynova/paynova-api-php-client/wiki
3+
This is an overview of the Paynova API Python Client using [Paynova REST API](http://docs.paynova.com/display/API/Paynova+API+Home) (Aero). More in-depth information can be found in the [Wiki](https://github.com/Paynova/paynova-api-php-client/wiki).
64

75
# Installation
86
```

setup.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010

1111
from setuptools import setup, find_packages
1212

13+
try:
14+
from pypandoc import convert
15+
read_md = lambda f: convert(f, 'rst')
16+
except ImportError:
17+
print("warning: pypandoc module not found, could not convert Markdown to RST")
18+
read_md = lambda f: open(f, 'r').read()
19+
1320
tests_require = [
1421
'mock',
1522
'nose',
@@ -26,10 +33,8 @@
2633
setup(
2734
name='paynova-api-python-client',
2835
version='0.1.0',
29-
description='Python client for Paynova\'s API.',
30-
long_description='''
31-
Python client for Paynova's API.
32-
''',
36+
description='Python client for Paynova\'s API',
37+
long_description=read_md('README.md'),
3338
keywords='paynova API python client',
3439
author='Andrey Kolpakov',
3540
author_email='[email protected]',

0 commit comments

Comments
 (0)