-
Notifications
You must be signed in to change notification settings - Fork 88
/
setup.py
30 lines (25 loc) · 865 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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="Ze'ev Gilovitz",
author_email="[email protected]",
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'],
)