try to build on travis
This commit is contained in:
parent
3c98d18c86
commit
1ba2ba3894
2 changed files with 6 additions and 4 deletions
|
@ -18,7 +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"
|
||||||
- "sudo apt-get -y install pypandoc"
|
- "sudo apt-get -y install pandoc"
|
||||||
- "pip install ."
|
- "pip install ."
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
|
|
8
setup.py
8
setup.py
|
@ -6,12 +6,14 @@ import os
|
||||||
|
|
||||||
dependencies = []
|
dependencies = []
|
||||||
module_name = 'python-terraform'
|
module_name = 'python-terraform'
|
||||||
|
short_description = 'This is a python module provide a wrapper ' \
|
||||||
|
'of terraform command line tool'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pypandoc
|
import pypandoc
|
||||||
long_description = pypandoc.convert('README.md', 'rst')
|
long_description = pypandoc.convert('README.md', 'rst')
|
||||||
except(IOError, ImportError):
|
except(IOError, ImportError, OSError):
|
||||||
long_description = open('README.md').read()
|
long_description = short_description
|
||||||
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
|
@ -31,7 +33,7 @@ setup(
|
||||||
license='MIT',
|
license='MIT',
|
||||||
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=short_description,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
packages=['python_terraform'],
|
packages=['python_terraform'],
|
||||||
package_data={},
|
package_data={},
|
||||||
|
|
Loading…
Reference in a new issue