-
Notifications
You must be signed in to change notification settings - Fork 75
/
setup.py
59 lines (53 loc) · 1.85 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
"""Edward2.
Edward2 is a probabilistic programming language in Python. It extends deep
learning ecosystems so that one can declare models as probabilistic programs and
manipulate a model's computation for flexible training, latent variable
inference, and prediction.
See more details in the [`README.md`](https://github.com/google/edward2).
"""
import os
import sys
from setuptools import find_packages
from setuptools import setup
# To enable importing version.py directly, we add its path to sys.path.
version_path = os.path.join(os.path.dirname(__file__), 'edward2')
sys.path.append(version_path)
from version import __version__ # pylint: disable=g-import-not-at-top
setup(
name='edward2',
version=__version__,
description='Edward2',
long_description='\n'.join(__doc__.split('\n')[2:]),
author='Edward2 Team',
author_email='trandustin@google.com',
url='http://github.com/google/edward2',
license='Apache 2.0',
packages=find_packages(),
install_requires=[
'tqdm',
],
extras_require={
'jax': ['jax>=0.2.13',
'flax>=0.3.4'],
'numpy': ['numpy>=1.7',
'scipy>=1.0.0'],
'tensorflow': ['tensorflow>=2.0.0a0',
'tensorflow-probability>=0.8.0'],
'tf-nightly': ['tf-nightly',
'tfp-nightly'],
'tests': [
'absl-py>=0.5.0',
'matplotlib>=2.0.0',
'pylint>=1.9.0',
'tensorflow-datasets>=1.3.0',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='probabilistic programming tensorflow machine learning',
)