diff --git a/DESCRIPTION.rst b/DESCRIPTION.rst new file mode 100644 index 0000000..2ed66b9 --- /dev/null +++ b/DESCRIPTION.rst @@ -0,0 +1,3 @@ +Please see README at github_ + +.. _github: https://github.com/beelit94/python-terraform \ No newline at end of file diff --git a/setup.py b/setup.py index a9a3acf..7498776 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ """ -My Tool does one thing, and one thing well. +This is a python module provide a wrapper of terraform command line tool """ from setuptools import setup import os @@ -9,11 +9,8 @@ module_name = 'python-terraform' short_description = 'This is a python module provide a wrapper ' \ 'of terraform command line tool' -try: - import pypandoc - long_description = pypandoc.convert('README.md', 'rst') -except(IOError, ImportError, OSError): - long_description = short_description +with open('DESCRIPTION.rst') as f: + long_description = f.read() def get_version():