add description to pypi

merge-requests/1/head
Freddy Tan 8 years ago
parent a17e3517c0
commit 4989717379

@ -0,0 +1,3 @@
Please see README at github_
.. _github: https://github.com/beelit94/python-terraform

@ -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():

Loading…
Cancel
Save