From 9b14fb38ab59249522ae661cac92c06081eddf2e Mon Sep 17 00:00:00 2001 From: Freddy Tan Date: Sat, 19 Nov 2016 23:29:57 +0800 Subject: [PATCH] try to build on travis --- .travis.yml | 4 ++-- setup.py | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 38c6ae6..1515c44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ deploy: on: branch: "release/**" tags: false - condition: $TRAVIS_PYTHON_VERSION = "2.7" + condition: $TRAVIS_PYTHON_VERSION = "3.5" # production pypi - provider: pypi distributions: sdist @@ -46,4 +46,4 @@ deploy: on: branch: master tags: true - condition: $TRAVIS_PYTHON_VERSION = "2.7" \ No newline at end of file + condition: $TRAVIS_PYTHON_VERSION = "3.5" \ No newline at end of file diff --git a/setup.py b/setup.py index 32173c5..298a945 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ """ My Tool does one thing, and one thing well. """ -from distutils.core import setup +from setuptools import setup import os dependencies = [] @@ -28,9 +28,7 @@ setup( description='This is a python module provide a wrapper of terraform command line tool', long_description=__doc__, packages=['python_terraform'], - include_package_data=True, package_data={}, - zip_safe=False, platforms='any', install_requires=dependencies, classifiers=[ @@ -44,7 +42,7 @@ setup( # 'Development Status :: 7 - Inactive', 'Environment :: Console', 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', + 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Operating System :: MacOS', 'Operating System :: Unix',