-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (57 loc) · 2.76 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# LVM Zoo, some Latent Variable Models using GPflow
# Copyright (C) 2017 Nicolas Knudde, Joachim van der Herten
# 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 setuptools import setup
import re
VERSIONFILE="lvmzoo/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(name='LVM Zoo',
version=verstr,
author="Nicolas Knudde, Joachim van der Herten",
author_email="[email protected]",
description=("Some Latent Variable Models using GPflow"),
license="GNU General Public License v3",
keywords="GP-LVM",
url="http://github.com/javdrher/lvm-zoo",
package_data={},
include_package_data=True,
ext_modules=[],
packages=["lvmzoo"],
package_dir={'lvmzoo': 'lvmzoo'},
py_modules=['lvmzoo.__init__'],
test_suite='testing',
install_requires=['numpy>=1.9', 'scipy>=0.16', 'GPflow>=0.3.5'],
extras_require={'tensorflow': ['tensorflow>=1.0.0'],
'tensorflow with gpu': ['tensorflow-gpu>=1.0.0'],
'docs': ['sphinx', 'sphinx_rtd_theme', 'numpydoc', 'nbsphinx', 'jupyter'],
'test': ['nose', 'coverage', 'six', 'parameterized', 'nbconvert', 'nbformat','jupyter',
'jupyter_client', 'matplotlib']
},
dependency_links=['https://github.com/GPflow/GPflow/tarball/master#egg=GPflow-0.3.5'],
classifiers=['License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence']
)