add description to pypi
This commit is contained in:
parent
a17e3517c0
commit
4989717379
2 changed files with 6 additions and 6 deletions
3
DESCRIPTION.rst
Normal file
3
DESCRIPTION.rst
Normal file
|
@ -0,0 +1,3 @@
|
|||
Please see README at github_
|
||||
|
||||
.. _github: https://github.com/beelit94/python-terraform
|
9
setup.py
9
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():
|
||||
|
|
Loading…
Reference in a new issue