-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (48 loc) · 1.48 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
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
emonpy
~~~~~
Emonpy provides a set of functions to communicate with an emoncms webserver.
The Energy monitoring Content Management System (see http://emoncms.org/) is an
open-source web-app for processing, logging and visualising energy, temperature
and other environmental data as part of the OpenEnergyMonitor project.
"""
from os import path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
here = path.abspath(path.dirname(__file__))
VERSION = '0.1.3'
DESCRIPTION = 'Emonpy provides a set of functions to communicate with an emoncms webserver.'
# Get the long description from the README file
with open(path.join(here, 'README.md')) as f:
DESCRIPTION_LONG = f.read()
NAME = 'emonpy'
LICENSE = 'LGPLv3'
AUTHOR = 'ISC Konstanz'
MAINTAINER_EMAIL = 'adrian.minde@isc-konstanz.de'
URL = 'https://github.com/isc-konstanz/emonpy'
INSTALL_REQUIRES = ['numpy >= 1.10.1',
'pandas >= 0.14.1',
'requests']
PACKAGES = ['emonpy']
SETUPTOOLS_KWARGS = {
'zip_safe': False,
'scripts': [],
'include_package_data': True
}
setup(
name = NAME,
version = VERSION,
license = LICENSE,
description = DESCRIPTION,
long_description = DESCRIPTION_LONG,
author = AUTHOR,
author_email = MAINTAINER_EMAIL,
url = URL,
packages = PACKAGES,
install_requires = INSTALL_REQUIRES,
**SETUPTOOLS_KWARGS
)