<gh_stars>100-1000
import os
import sys

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    sys.exit()


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name="python-forecastio",
    version="1.4.0",
    author="<NAME>",
    author_email="<EMAIL>",
    description=("A thin Python Wrapper for the Dark Sky (formerly Forecast.io) weather API"),
    license="BSD 2-clause",
    keywords="weather API wrapper forecast.io location darksky",
    url="http://zeevgilovitz.com/python-forecast.io/",
    packages=['forecastio'],
    package_data={'forecastio': ['LICENSE.txt', 'README.rst']},
    long_description=open('README.rst').read(),
    install_requires=['requests>=1.6', 'responses'],
)

import os
import sys

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    sys.exit()


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name="python-forecastio",
    version="1.4.0",
    author="<NAME>",
    author_email="<EMAIL>",
    description=("A thin Python Wrapper for the Dark Sky (formerly Forecast.io) weather API"),
    license="BSD 2-clause",
    keywords="weather API wrapper forecast.io location darksky",
    url="http://zeevgilovitz.com/python-forecast.io/",
    packages=['forecastio'],
    package_data={'forecastio': ['LICENSE.txt', 'README.rst']},
    long_description=open('README.rst').read(),
    install_requires=['requests>=1.6', 'responses'],
)