[build-system]
requires = ["setuptools>=77.0"]

build-backend = "setuptools.build_meta"

[project]
name = "seisio"

license = "LGPL-3.0-or-later"

license-files = ["LICEN[CS]E*"]

dynamic = ["version"]

authors = [
  { name="Thomas Hertweck", email="geophysics@email.de" },
]

maintainers = [
  { name="Thomas Hertweck", email="geophysics@email.de" },
]

description = "I/O of seismic data"

readme = "README.md"

requires-python = ">=3.9"

classifiers = [
    "Programming Language :: Python :: 3",
    "Operating System :: OS Independent",
]

dependencies = [
  "numpy",
  "pandas",
]

keywords = [
  "seismic",
  "SU",
  "SEGY", "SEG-Y",
  "SEG2",
  "I/O",
  "read",
  "write",
  "radar", "GPR",
]

[project.urls]
Repository = "https://gitlab.kit.edu/thomas.hertweck/seisio"

[project.optional-dependencies]
opt = [
  "ibm2ieee",
  "tabulate",
  "numba",
]

[tool.setuptools.dynamic]
version = { attr = "seisio.__version__" }

[tool.setuptools]
include-package-data = true

package-dir = { "" = "./" }

[tool.setuptools.package-data]
"seisio.json" = [ "*.json" ]

