[build-system]
requires = ["setuptools>=65.0", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pyharmx"
version = "0.1.6"
dynamic = ["dependencies"]
description = "Polyharmonic spline interpolation in PyTorch"
readme = "README.md"
license = {text = "MIT License"}
authors = [
  {name = "Ivan Zanardi", email = "ivan.zanardi.us@gmail.com"}
]
requires-python = ">=3.8"
keywords = [
  "Python",
  "PyTorch",
  "Interpolation",
  "Spline",
  "Polyharmonic Spline",
  "RBF",
  "Radial Basis Function"
]
classifiers = [
  "Development Status :: 4 - Beta",
  "Intended Audience :: Developers",
  "Intended Audience :: Education",
  "Intended Audience :: Science/Research",
  "License :: OSI Approved :: MIT License",
  "Programming Language :: Python :: 3",
  "Topic :: Scientific/Engineering",
  "Topic :: Scientific/Engineering :: Mathematics",
  "Topic :: Software Development :: Libraries",
  "Topic :: Software Development :: Libraries :: Python Modules"
]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[project.urls]
Homepage = "https://github.com/ivanZanardi/pyharmx"
"Bug Tracker" = "https://github.com/ivanZanardi/pyharmx/issues"
Changelog = "https://github.com/ivanZanardi/pyharmx/releases"
Documentation = "https://pyharmx.readthedocs.io"

[tool.autopep8]
max_line_length = 79
ignore = ["E501", "W6"]
in-place = true
recursive = true
aggressive = 3

[tool.setuptools.packages.find]
where = ["."]
exclude = ["docs*", "examples*"]

[project.optional-dependencies]
test = ["pytest"]

[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["tests"]
