-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
59 lines (54 loc) · 2.34 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
#!/usr/bin/env python
# Copyright 2016,2017 by MPI-SWS and Data-Ken Research.
# Licensed under the Apache 2.0 License.
"""Setup script for thingflow distribution. Note that we only
package up the python code. The tests, docs, and examples
are all kept only in the full source repository.
"""
import sys
sys.path.insert(0, 'thingflow')
from thingflow import __version__
#We try setuptools first (which has more features), and
# fallback to distutils if setuptools was not installed.
try:
from setuptools import setup
except ImportError:
print("Did not find setuptools, using distutils instead")
from distutils.core import setup
DESCRIPTION =\
"""
ThingFlow is a (Python3) framework for building IOT event processing
dataflows. The goal of this framework is to support the
creation of robust IoT systems from reusable components. These systems must
account for noisy/missing sensor data, distributed computation, and the
need for local (near the data source) processing.
ThingFlow is pure Python (3.4 or later). The packaged distribution
(e.g. on PyPi) only includes the core Python code. The source repository at
https://github.com/mpi-sws-rse/thingflow-python contains the core Python
code plus the documentation, examples, and tests. There is also a port
of ThingFlow for micropython available in the source repo.
"""
setup(name='thingflow',
version=__version__,
description="Event Stream processing library for IOT",
long_description=DESCRIPTION,
license="Apache 2.0",
author="MPI-SWS and Data-Ken Research",
author_email="[email protected]",
maintainer='Jeff Fischer',
maintainer_email='[email protected]',
url='https://github.com/mpi-sws-rse/thingflow-python',
packages=['thingflow', 'thingflow.internal', 'thingflow.filters',
'thingflow.sensors', 'thingflow.sensors.rpi',
'thingflow.adapters', 'thingflow.adapters.rpi'],
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'Intended Audience :: Developers' ,
],
keywords = ['events', 'iot', 'sensors'],
)