- Added `.DS_Store` to `.gitignore` to prevent macOS system files from being tracked. - Introduced optional development dependencies in `pyproject.toml`, including `pytest` and `responses`, to facilitate testing and development. - Updated `uv.lock` with new package dependencies and versions for improved compatibility and functionality. - Created new test files `conftest.py` and `test_view.py` to establish testing fixtures and implement unit tests for the `ModelView` class.
51 lines
953 B
TOML
51 lines
953 B
TOML
[build-system]
|
|
requires = ["setuptools>=77"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "oxipy"
|
|
version = "0.1.0"
|
|
description = "Python client for Oxidized API with TTP-based config parsing"
|
|
readme = "README.md"
|
|
license = "Apache-2.0"
|
|
license-files = ["LICENSE"]
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = [
|
|
"pydantic>=2.12.5",
|
|
"requests>=2.32.5",
|
|
"ttp>=0.10.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8",
|
|
"responses>=0.25",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/sttarsky/oxipy"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["oxi*"]
|
|
|
|
[tool.setuptools]
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.package-data]
|
|
"oxi" = ["**/*.ttp"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.0.3",
|
|
"responses>=0.26.1",
|
|
]
|