CHG / chg_package /pyproject.toml
guanwencan's picture
Upload 9 files
69bf174 verified
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "chg-algorithm"
description = "CHG (Covariance-based Hilbert Geometry) Algorithm for Gaussian Process Regression"
readme = "README.md"
requires-python = ">=3.7"
license = {text = "MIT"}
authors = [
{name = "CHG Algorithm Team", email = "chg@example.com"}
]
keywords = ["gaussian-process", "machine-learning", "regression", "uncertainty-quantification"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.19.0",
"typing-extensions>=3.7.4"
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pytest>=6.0",
"pytest-cov>=2.0",
"black>=21.0",
"flake8>=3.9",
"mypy>=0.910"
]
docs = [
"sphinx>=4.0",
"sphinx-rtd-theme>=1.0"
]
examples = [
"matplotlib>=3.0"
]
[project.scripts]
chg-demo = "chg_algorithm.core:run_chg_experiment"
[tool.setuptools.dynamic]
version = {attr = "chg_algorithm.__version__"}
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
[tool.mypy]
python_version = "3.7"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "--verbose --cov=chg_algorithm --cov-report=html --cov-report=term"