forked from SocialCognitiveSystems/PRIMO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (63 loc) · 2.68 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
62
63
64
65
66
67
68
69
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of PRIMO2 -- Probabilistic Inference Modules.
# Copyright (C) 2013-2017 Social Cognitive Systems Group,
# Faculty of Technology, Bielefeld University
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the Lesser 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 Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
import setuptools
import sys
from primo2 import __version__
if sys.argv[-1] == 'setup.py':
print("To install, run 'python setup.py install'")
print()
setuptools.setup(
name="primo2",
version=__version__,
description="PRIMO -- PRobabilistic Inference MOdules",
long_description="This project is a (partial) reimplementation of the original " \
"probabilistic inference modules which can be found at " \
"https://github.com/hbuschme/PRIMO. This reimplementation " \
"follows the same general idea, but restructured and unified the " \
"underlying datatypes to allow a more concise API and more efficient " \
"manipulation, e.g. by the inference algorithm. In turn the inference " \
"algorithms have been rewritten and partly extended. For most if not " \
"all use cases this implementation should be easier to use and more " \
"performant than the original.",
url='http://github.com/SocialCognitiveSystems/PRIMO/',
license='GNU Lesser General Public License v3 or later (LGPLv3+)',
maintainer="Jan Pöppel",
maintainer_email="jpoeppel@techfak.uni-bielefeld.de",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
packages=[
"primo2",
"primo2.inference"
],
install_requires = [
"lxml",
"numpy",
"networkx",
"six"
],
)