import os
from setuptools import setup, find_packages

VERSION = "1.1.0"

src_dir = os.path.dirname(__file__)

install_requires = [
    "troposphere~=1.9.2",
    "boto3>=1.3.1,<1.5.0",
    "PyYAML~=3.11",
    "awacs~=0.6.0",
    "colorama~=0.3.7",
    "formic~=0.9b",
    "gitpython~=2.0",
    "schematics~=2.0.1"
]

tests_require = [
    "mock~=2.0.0",
    "moto~=0.4.30",
    "testfixtures~=4.10.0",
    "coverage~=4.3.4"
]

setup_requires = [
    "nose",
]

scripts = [
    "scripts/compare_env",
    "scripts/docker-stacker",
    "scripts/stacker"
]


def read(filename):
    full_path = os.path.join(src_dir, filename)
    with open(full_path) as fd:
        return fd.read()


if __name__ == "__main__":
    setup(
        name="stacker",
        version=VERSION,
        author="Michael Barrett",
        author_email="loki77@gmail.com",
        license="New BSD license",
        url="https://github.com/remind101/stacker",
        description="Opinionated AWS CloudFormation Stack manager",
        long_description=read("README.rst"),
        packages=find_packages(),
        scripts=scripts,
        install_requires=install_requires,
        tests_require=tests_require,
        setup_requires=setup_requires,
        test_suite="nose.collector",
    )

import os
from setuptools import setup, find_packages

VERSION = "1.1.0"

src_dir = os.path.dirname(__file__)

install_requires = [
    "troposphere~=1.9.2",
    "boto3>=1.3.1,<1.5.0",
    "PyYAML~=3.11",
    "awacs~=0.7.0",
    "colorama~=0.3.7",
    "formic~=0.9b",
    "gitpython~=2.0",
    "schematics~=2.0.1"
]

tests_require = [
    "mock~=2.0.0",
    "moto~=0.4.30",
    "testfixtures~=4.10.0",
    "coverage~=4.3.4"
]

setup_requires = [
    "nose",
]

scripts = [
    "scripts/compare_env",
    "scripts/docker-stacker",
    "scripts/stacker"
]


def read(filename):
    full_path = os.path.join(src_dir, filename)
    with open(full_path) as fd:
        return fd.read()


if __name__ == "__main__":
    setup(
        name="stacker",
        version=VERSION,
        author="Michael Barrett",
        author_email="loki77@gmail.com",
        license="New BSD license",
        url="https://github.com/remind101/stacker",
        description="Opinionated AWS CloudFormation Stack manager",
        long_description=read("README.rst"),
        packages=find_packages(),
        scripts=scripts,
        install_requires=install_requires,
        tests_require=tests_require,
        setup_requires=setup_requires,
        test_suite="nose.collector",
    )

Update awacs to 0.7.x (#490)