forked from impactlab/eemeter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (39 loc) · 1.38 KB
/
setup.py
File metadata and controls
46 lines (39 loc) · 1.38 KB
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
from setuptools import setup, find_packages, Command
version = __import__('eemeter').get_version()
long_description = "Standard methods for calculating energy efficiency 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', '--cov-report', 'term-missing', '--cov', 'eemeter' ])
raise SystemExit(errno)
setup(name='eemeter',
version=version,
description='Open Energy Efficiency Meter',
long_description=long_description,
url='https://github.com/impactlab/eemeter/',
author='Matt Gee, Phil Ngo, Eric Potash',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
cmdclass = {'test': PyTest},
keywords='open energy efficiency meter method methods calculation savings',
packages=find_packages(),
install_requires=['pint',
'pyyaml',
'scipy',
'numpy',
'pandas',
'requests',
'pytz'],
package_data={'': ['*.json','*.gz']},
)