https://github.com/GPflow/GPflow
Revision cce56f83db35c7f3e9c50cd00006d82a5c69a5db authored by sc336 on 02 December 2022, 15:19:29 UTC, committed by GitHub on 02 December 2022, 15:19:29 UTC
* Avoid loss of precision in to_default_float when input is a python float (#2021)

* avoid loss of precision in to_default_float

* add tests

* release management

* Updated to compensate for new mypy version (#2016)

* Updated to ignore mypy's new type-abstract error

* Looks like mypy won't quit on this one.

* More type hinting

* Sort

* Another try

* Another try

* Another try

* Go away mypy

* format

* More mypy wards

* Is this error connected?

* Removed unnecessary dummy package

* Another mypy error

* Format

* Fix mypy error. (#2009)

Co-authored-by: sc336 <s.chiu.00@gmail.com>
Co-authored-by: Jesper Nielsen <44195043+jesnie@users.noreply.github.com>

* Some corrections to RELEASE.md (#2022)

* Update VERSION

* Update version

Co-authored-by: John Mcleod <43960404+johnamcleod@users.noreply.github.com>
Co-authored-by: Jesper Nielsen <44195043+jesnie@users.noreply.github.com>
Co-authored-by: Chris Morter <chris@prowler.io>
1 parent ef0b32c
Raw File
Tip revision: cce56f83db35c7f3e9c50cd00006d82a5c69a5db authored by sc336 on 02 December 2022, 15:19:29 UTC
Sc336/fix conflicts (#2024)
Tip revision: cce56f8
setup.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# pylint: skip-file

from setuptools import find_packages, setup

##### Dependencies of GPflow

requirements = [
    "check_shapes>=1.0.0",
    "deprecated",
    "multipledispatch>=0.6",
    "numpy",
    "packaging",
    "scipy",
    "setuptools>=41.0.0",  # to satisfy dependency constraints
    "tabulate",
    "tensorflow-probability>=0.12.0",
    "tensorflow>=2.4.0; platform_system!='Darwin' or platform_machine!='arm64'",
    # NOTE: Support of Apple Silicon MacOS platforms is in an experimental mode
    "tensorflow-macos>=2.4.0; platform_system=='Darwin' and platform_machine=='arm64'",
    # NOTE: once we require tensorflow-probability>=0.12, we can remove our custom deepcopy handling
    "typing_extensions",
]


def read_file(filename: str) -> str:
    with open(filename, encoding="utf-8") as f:
        return f.read().strip()


version = read_file("VERSION")
readme_text = read_file("README.md")

packages = find_packages(".", exclude=["tests"])

setup(
    name="gpflow",
    version=version,
    author="James Hensman, Alex Matthews",
    author_email="james.hensman@gmail.com",
    description="Gaussian process methods in TensorFlow",
    long_description=readme_text,
    long_description_content_type="text/markdown",
    license="Apache License 2.0",
    keywords="machine-learning gaussian-processes kernels tensorflow",
    url="https://www.gpflow.org",
    project_urls={
        "Source on GitHub": "https://github.com/GPflow/GPflow",
        "Documentation": "https://gpflow.github.io/GPflow/",
    },
    packages=packages,
    package_data={"": ["*.lark"]},
    include_package_data=True,
    install_requires=requirements,
    extras_require={"ImageToTensorBoard": ["matplotlib"]},
    python_requires=">=3.7",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: GPU :: NVIDIA CUDA",
        "Intended Audience :: Developers",
        "Intended Audience :: Education",
        "Intended Audience :: Science/Research",
        "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.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
        "Typing :: Typed",
    ],
)
back to top