-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
52 lines (45 loc) · 1.65 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
#
# Hannes Hapke - Santiago, Chile - 2014
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
"""
Distutils setup script for pynrelutility.
"""
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from __version__ import VERSION
setup(
name='pynrelutility',
version=VERSION,
author='Hannes Hapke',
author_email='[email protected]',
url='https://github.com/hanneshapke/pynrelutility',
download_url='https://github.com/hanneshapke/pynrelutility/archive/master.zip',
description='Python interface for NREL\'s Utility API API. The API is providing \
utility names and rates for a given location',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r').read(),
py_modules=['nrel_utility', 'nrel_utility_errors', '__version__'],
provides=['nrel_utility'],
requires=['requests'],
install_requires=['requests >= 2.2.0'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'License :: OSI Approved :: BSD License',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Scientific/Engineering',
],
keywords='nrel utility energy electricity rates api json US',
license='MIT',
)