https://github.com/GPflow/GPflow
Revision 1c74ce40280e27b1019878243a1478e900b5a3fb authored by James Hensman on 28 January 2019, 17:13:41 UTC, committed by GitHub on 28 January 2019, 17:13:41 UTC
* Release v1.3.0 (#869)

* cleaning up some of the .rst files into a flatter hierarchy

* editing upper bound notebook so that headers don't interfere with the doc structure

* some eidts to the GPR docstring and call signature

* imrpving kernel docstrings

* improving SGPR call signature

* simplifying use of abc.abstractmethod

* reinstating a very important period

* Update gpflow/kernels.py

Co-Authored-By: jameshensman <james.hensman@gmail.com>

* improvements for kernel docstrings

* typo fix in  gpflow/models/gpr.py

Co-Authored-By: jameshensman <james.hensman@gmail.com>

* typo fix in gpflow/models/sgpr.py

Co-Authored-By: jameshensman <james.hensman@gmail.com>

* more kernel docstring improvements

* Added module level descriptions of likelihoods and kernels, fixed table in intro, and added auto-detection of modules with auto-members

* Fixed minor typos in the docs

* improving TOC by setting trtee depth to 2

* some copyright edits

* Moved documentation from .rst to module level documentation

* including missing argument in SGPR init

* Added mean function module level documentation, changed to unicode from LaTeX for readability in code
1 parent 7e55422
Raw File
Tip revision: 1c74ce40280e27b1019878243a1478e900b5a3fb authored by James Hensman on 28 January 2019, 17:13:41 UTC
Hackathon doc cleanup (#906)
Tip revision: 1c74ce4
setup.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# pylint: skip-file

from setuptools import setup
from setuptools import find_packages

import re
import os
import sys
from pkg_resources import parse_version

# load version form _version.py
exec(open("gpflow/_version.py").read())

# Dependencies of GPflow
requirements = [
    'numpy>=1.10.0',
    'scipy>=0.18.0',
    'pandas>=0.18.1',
    'multipledispatch>=0.4.9',
    'pytest>=3.5.0',
    'h5py>=2.7.0',
    'matplotlib>=2.2.2'
]

min_tf_version = '1.12.0'
tf_cpu = 'tensorflow>={}'.format(min_tf_version)
tf_gpu = 'tensorflow-gpu>={}'.format(min_tf_version)

# Only detect TF if not installed or outdated. If not, do not do not list as
# requirement to avoid installing over e.g. tensorflow-gpu
# To avoid this, rely on importing rather than the package name (like pip).

try:
    # If tf not installed, import raises ImportError
    import tensorflow as tf
    if parse_version(tf.VERSION) < parse_version(min_tf_version):
        # TF pre-installed, but below the minimum required version
        raise DeprecationWarning("TensorFlow version below minimum requirement")
except (ImportError, DeprecationWarning) as e:
    # Add TensorFlow to dependencies to trigger installation/update
    requirements.append(tf_cpu)

packages = find_packages('.')
package_data={'gpflow': ['gpflow/gpflowrc']}

setup(name='gpflow',
      version=__version__,
      author="James Hensman, Alex Matthews",
      author_email="james.hensman@gmail.com",
      description=("Gaussian process methods in tensorflow"),
      license="Apache License 2.0",
      keywords="machine-learning gaussian-processes kernels tensorflow",
      url="http://github.com/GPflow/GPflow",
      packages=packages,
      install_requires=requirements,
      package_data=package_data,
      include_package_data=True,
      test_suite='tests',
      extras_require={'Tensorflow with GPU': [tf_gpu]},
      classifiers=[
          'License :: OSI Approved :: Apache Software License',
          'Natural Language :: English',
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: Microsoft :: Windows',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Topic :: Scientific/Engineering :: Artificial Intelligence'
      ])
back to top