-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
50 lines (41 loc) · 1.23 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
#!/usr/bin/env python
"""Gaussian Process setup."""
import os
from setuptools import setup
__version__ = "0.1.2"
def read(fname):
"""Reads a file's contents as a string.
Args:
fname: Filename.
Returns:
File's contents.
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
BASE_URL = "https://github.com/anassinator/gp"
INSTALL_REQUIRES = [
"numpy==1.14.2",
"torch==0.4.0",
]
setup(
name="gp",
version=__version__,
description="Gaussian Process implementation for PyTorch",
long_description=read("README.rst"),
author="Anass Al",
author_email="[email protected]",
license="MIT",
url=BASE_URL,
download_url="{}/tarball/{}".format(BASE_URL, __version__),
packages=["gp"],
zip_safe=True,
install_requires=INSTALL_REQUIRES,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
])