-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (36 loc) · 965 Bytes
/
setup.py
File metadata and controls
44 lines (36 loc) · 965 Bytes
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
import os,sys,re
try:
from setuptools import setup
setup
except ImportError:
from distutils.core import setup
setup
def rd(filename):
f = file(filename,"r")
r = f.read()
f.close()
return r
vre = re.compile("__version__ = \"(.*?)\"")
m = rd(os.path.join(os.path.dirname(os.path.abspath(__file__)),
"GaussianProcess", "__init__.py"))
version = vre.findall(m)[0]
setup(
name="GaussianProcess",
version=version,
author="Andrea Petri, Jia Liu, Jan M. Kratochvil",
author_email="apetri@phys.columbia.edu",
packages=["GaussianProcess"],
url="?",
license="?",
description="Toolkit for Gaussian Process Regression",
long_description=rd("README.md"),
install_requires=["numpy","scipy"],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: C",
"License :: Public Domain"
],
)