101 lines
2.5 KiB
TOML
101 lines
2.5 KiB
TOML
[project]
|
|
name = "simplecadapi"
|
|
version = "2.0.2"
|
|
description = "A simplified OCP-native CAD modeling Python API"
|
|
readme = "README.md"
|
|
license = { file = "LICENSE" }
|
|
authors = [{ name = "倪旌哲", email = "nijingzhe@zju.edu.cn" }]
|
|
maintainers = [{ name = "倪旌哲", email = "nijingzhe@zju.edu.cn" }]
|
|
requires-python = ">=3.10,<3.14"
|
|
keywords = ["cad", "modeling", "3d", "design", "ocp", "opencascade"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: Manufacturing",
|
|
"Topic :: Scientific/Engineering",
|
|
"Topic :: Scientific/Engineering :: Visualization",
|
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = [
|
|
"numpy>=1.21.0",
|
|
"rich>=14.0.0",
|
|
"cadquery-ocp>=7.9.3.1",
|
|
"jsonschema>=4.25.1,<5.0.0",
|
|
"rfc8785>=0.1.4,<0.2.0",
|
|
"typing-extensions>=4.12,<5",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
"mypy>=1.0",
|
|
"black>=23.0",
|
|
"isort>=5.0",
|
|
]
|
|
editor = []
|
|
collision = [
|
|
"python-fcl>=0.7.0.11",
|
|
]
|
|
inverse-engineer = [
|
|
"matplotlib>=3.7.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/NiJingzhe/SimpleCADAPI"
|
|
Repository = "https://github.com/NiJingzhe/SimpleCADAPI"
|
|
Documentation = "https://github.com/NiJingzhe/SimpleCADAPI#readme"
|
|
Issues = "https://github.com/NiJingzhe/SimpleCADAPI/issues"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/simplecadapi", "docs"]
|
|
include = ["src/**/*", "docs/**"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/README.md",
|
|
"/LICENSE",
|
|
"/pyproject.toml",
|
|
"/MANIFEST.in",
|
|
"/src",
|
|
"/docs",
|
|
]
|
|
exclude = [
|
|
"/.python-version",
|
|
"/uv.lock",
|
|
"/test",
|
|
"/tests",
|
|
"/skills",
|
|
"/sandbox",
|
|
"/examples",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"twine>=6.1.0",
|
|
"pytest",
|
|
"jupyterlab>=4.5.5",
|
|
"ipykernel>=6.29.5",
|
|
"matplotlib>=3.10.8",
|
|
"numpy-stl>=3.2.0",
|
|
"trimesh>=4.11.3",
|
|
"datamodel-code-generator==0.32.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
evolve = "simplecadapi.auto_tools.evolution:main"
|
|
make-export = "simplecadapi.auto_tools.make_export:main"
|
|
auto-docs-gen = "simplecadapi.auto_tools.auto_docs_gen:main"
|
|
skill-pack = "simplecadapi.auto_tools.skill_pack:main"
|
|
simplecad-brep = "simplecadapi.inverse_engineer.brep.cli:main"
|