forked from recurve-inc/thermostat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (36 loc) · 1.23 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
from setuptools import setup, find_packages, Command
version = __import__('thermostat').get_version()
long_description = "Calculate connected thermostat temperature/run-time savings."
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
import sys
errno = subprocess.call([sys.executable, 'runtests.py', '--runslow', '--assert=plain', '--verbose','--cov-report', 'term-missing', '--cov', 'thermostat' ])
raise SystemExit(errno)
setup(name='thermostat',
version=version,
description='Calculate connected thermostat savings',
long_description=long_description,
url='https://github.com/impactlab/thermostat/',
author='Phil Ngo',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
cmdclass = {'test': PyTest},
keywords='thermostat savings EPA',
packages=find_packages(),
package_data={'': ['*.csv']},
install_requires=[
'eemeter==0.4.8',
'pandas==0.18.1',
],
)