-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (83 loc) · 3.05 KB
/
pyproject.toml
File metadata and controls
97 lines (83 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# © 2026 The Radiativity Company
# Licensed under the Apache License, Version 2.0
# See the LICENSE file for details.
[project]
name = "ucon"
dynamic = ["version"]
description = "A tool for dimensional analysis: a 'Unit CONverter'"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.7"
authors = [
]
maintainers = [
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3.7",
"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 :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"typing_extensions>=3.7.4; python_version < '3.9'",
"tomli>=2.0; python_version < '3.11'",
]
[project.urls]
Homepage = "https://docs.ucon.dev/"
Repository = "https://github.com/withtwoemms/ucon"
[project.optional-dependencies]
test = ["coverage[toml]>=5.5", "pytest>=7.0", "numpy>=1.20", "pandas>=1.3; python_version >= '3.8'", "polars>=0.15; python_version >= '3.8'"]
pydantic = ["pydantic>=2.0"]
serialization = ["tomli_w>=1.0"]
docs = ["mkdocs-material", "mkdocstrings[python]"]
numpy = ["numpy>=1.20"]
pandas = ["pandas>=1.3; python_version >= '3.8'"]
polars = ["polars>=0.15; python_version >= '3.8'"]
dataframe = ["ucon[pandas,polars]; python_version >= '3.8'"]
scientific = ["ucon[numpy]", "ucon[pandas,polars]; python_version >= '3.8'"]
all = ["ucon[pydantic,numpy]", "ucon[pandas,polars]; python_version >= '3.8'"]
# -----------------------------------------------------------------------------
# Build System
# -----------------------------------------------------------------------------
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["ucon*"]
[tool.setuptools.package-data]
ucon = ["comprehensive.ucon.toml", "*.pyi"]
[tool.setuptools_scm]
# Version derived from git tags
# no-local-version prevents +gXXXXXX suffixes that PyPI rejects
local_scheme = "no-local-version"
# -----------------------------------------------------------------------------
# uv Configuration
# -----------------------------------------------------------------------------
[tool.uv]
python-preference = "managed"
cache-dir = ".uv_cache"
# -----------------------------------------------------------------------------
# Coverage Configuration
# -----------------------------------------------------------------------------
[tool.coverage.run]
source = ["."]
branch = true
omit = [
"**/tests/*",
"**/site-packages/*.py",
]
[tool.coverage.report]
show_missing = true
[tool.coverage.xml]
output = "coverage.xml"