-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.py
50 lines (45 loc) · 1.7 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
# -*- coding: utf-8 -*-
from pathlib import Path
from setuptools import find_namespace_packages, setup
requirements = [
"deprecated",
"gpflow>=2.9.2",
"numpy<2",
"scipy",
"tensorflow>=2.5.0,<2.17; platform_system!='Darwin' or platform_machine!='arm64'",
# NOTE: Support of Apple Silicon MacOS platforms is in an experimental mode
"tensorflow-macos>=2.5.0,<2.17; platform_system=='Darwin' and platform_machine=='arm64'",
"tensorflow-probability>=0.13.0,<0.25",
]
with open("README.md", "r") as file:
long_description = file.read()
with open(Path(__file__).parent / "gpflux" / "version.py", "r") as version_file:
exec(version_file.read())
setup(
name="gpflux",
version=__version__,
author="Secondmind Labs",
author_email="gpflux@secondmind.ai",
long_description=long_description,
long_description_content_type="text/markdown",
description="GPflux: Deep GP library",
license="Apache License 2.0",
keywords="Deep-Gaussian-processes",
install_requires=requirements,
packages=find_namespace_packages(include=["gpflux*"]),
package_data={"gpflux": ["py.typed"]},
project_urls={
"Source on GitHub": "https://github.com/secondmind-labs/GPflux",
"Documentation": "https://secondmind-labs.github.io/GPflux/",
},
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)