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

[project]
name = "cubmods"
#dynamic = ["version"]
version = "0.0.1"
description = 'CUB models for ordinal responses.'
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
keywords = ["CUB", "ordinal responses", "statistics"]
authors = [
  { name = "Massimo Pierini", email = "cub@maxpierini.it" },
]
classifiers = [
  "Development Status :: 4 - Beta",
  "Programming Language :: Python",
  "Programming Language :: Python :: 3.8",
  "Programming Language :: Python :: 3.9",
  "Programming Language :: Python :: 3.10",
  "Programming Language :: Python :: 3.11",
  "Programming Language :: Python :: 3.12",
  #"Programming Language :: Python :: Implementation :: CPython",
  #"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
    "numpy", "pandas", "scipy", "statsmodels", "matplotlib"
]

[project.urls]
Documentation = "https://github.com/maxdevblock/cubmods"
Issues = "https://github.com/maxdevblock/cubmods/issues"
Source = "https://github.com/maxdevblock/cubmods"

#[tool.hatch.version]
#path = "src/pyospackage/__about__.py"

[tool.bumpver]
current_version = "0.0.1"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message  = "Bump version {old_version} -> {new_version}"
commit          = true
tag             = true
push            = false

[tool.bumpver.file_patterns]
"pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"']
"cubmods/__init__.py" = ["{version}"]
