[build-system]
# If we add c++ code later, we need to use scikit-build-core
# requires = ["scikit-build-core"]
# build-backend = "scikit_build_core.build"

requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build]
exclude = [
    "docs*",
    "data*",
    "tests*",
    "Makefile",
    "CMakeLists.txt",
    "mkdocs.yml",
]

[project]
name = "nnconvexity"
version = "0.1.1"
description = "Package for analyzing the convexity of neural networks."
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Scientific/Engineering :: Artificial Intelligence"
]

license = "Apache-2.0"

readme = "README.md"
authors = [
    { name = "Lenka Tetková", email = "lenhy@dtu.dk" },
    { name = "Teresa Dorszewski", email = "tksc@dtu.dk" },
    { name = "Thea Brüsch", email = "theb@dtu.dk" },
    { name = "Tommy Sonne Alstrøm", email = "tsal@dtu.dk" }
]

maintainers = [
    { name = "Tommy Sonne Alstrøm", email = "tsal@dtu.dk" },
    { name = "Lenka Tetková", email = "lenhy@dtu.dk" },
]

requires-python = ">=3.9"
dependencies = [
    "joblib", 
    "numpy", 
    "pandas", 
    "python_igraph", 
    "scipy", 
    "torch", 
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
