-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (57 loc) · 2.02 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (57 loc) · 2.02 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# ztreamy: a framework for publishing semantic events on the Web
# Copyright (C) 2011-2015 Jesus Arias Fisteus
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
#
from __future__ import print_function
import os
import sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
if sys.version_info[0] != 2 or sys.version_info[1] not in [7]:
print('ztreamy needs Python 2.7')
sys.exit(1)
# Dependencies
requirements = ['setuptools>=18.5',
'tornado',
'rdflib>=4.0',
'rdflib-jsonld',
'pycurl',
'pyparsing',
'simplejson',
'futures',
'python-dateutil',
'IPy',
]
tests_require = []
setup(
name = "ztreamy",
version = "0.5.dev9",
author = "Jesus Arias Fisteus",
author_email = "jfisteus@gmail.com",
description = ("A framework for publishing semantic events on the Web"),
license = 'GPL3',
keywords = "rdf sensors web semantic-sensor-web",
url = "http://www.ztreamy.org/",
packages=['ztreamy', 'ztreamy.utils', 'ztreamy.tools',
'ztreamy.examples', 'ztreamy.experiments',
'ztreamy.casestudy'],
package_data={'ztreamy': ['data/static/*']},
long_description=read('README'),
install_requires = requirements,
tests_require = tests_require,
test_suite = "tests.get_tests",
)