try to build on travis
This commit is contained in:
parent
37f46a1cd4
commit
88048d290d
2 changed files with 8 additions and 1 deletions
|
@ -18,6 +18,7 @@ before_script:
|
||||||
install:
|
install:
|
||||||
- "curl https://bootstrap.pypa.io/ez_setup.py -o - | python"
|
- "curl https://bootstrap.pypa.io/ez_setup.py -o - | python"
|
||||||
- "pip install -r test/requirements.txt"
|
- "pip install -r test/requirements.txt"
|
||||||
|
- "pip install pypandoc"
|
||||||
- "pip install ."
|
- "pip install ."
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
|
|
8
setup.py
8
setup.py
|
@ -7,6 +7,12 @@ import os
|
||||||
dependencies = []
|
dependencies = []
|
||||||
module_name = 'python-terraform'
|
module_name = 'python-terraform'
|
||||||
|
|
||||||
|
try:
|
||||||
|
import pypandoc
|
||||||
|
long_description = pypandoc.convert('README.md', 'rst')
|
||||||
|
except(IOError, ImportError):
|
||||||
|
long_description = open('README.md').read()
|
||||||
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
p = os.path.join(os.path.dirname(
|
p = os.path.join(os.path.dirname(
|
||||||
|
@ -26,7 +32,7 @@ setup(
|
||||||
author='Freddy Tan',
|
author='Freddy Tan',
|
||||||
author_email='beelit94@gmail.com',
|
author_email='beelit94@gmail.com',
|
||||||
description='This is a python module provide a wrapper of terraform command line tool',
|
description='This is a python module provide a wrapper of terraform command line tool',
|
||||||
long_description=__doc__,
|
long_description=long_description,
|
||||||
packages=['python_terraform'],
|
packages=['python_terraform'],
|
||||||
package_data={},
|
package_data={},
|
||||||
platforms='any',
|
platforms='any',
|
||||||
|
|
Loading…
Reference in a new issue