Newer
Older
[build-system]
requires = ["scikit-build-core", "pybind11"]
build-backend = "scikit_build_core.build"
[project]
version = "0.2.1"
description = "A great package."
readme = "README.md"
authors = [
{ name = "Xuefeng Ding", email = "dingxf@ihep.ac.cn" },
]
maintainers = [
{ name = "Xuefeng Ding (IHEP)", email = "dingxf@ihep.ac.cn" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Scientific/Engineering :: Physics",
]
[project.urls]
Homepage = "https://github.com/organization/package"
Documentation = "https://package.readthedocs.io/"
"Bug Tracker" = "https://github.com/organization/package/issues"
Discussions = "https://github.com/organization/package/discussions"
Changelog = "https://package.readthedocs.io/en/latest/changelog.html"
[tool.scikit-build.wheel.packages]
"myproj/simulation" = "python/myproj/simulation"
[tool.scikit-build.wheel]
install-dir = "myproj/simulation"
exclude = ["CMakeLists.txt","*.cc","*.h"]
# [tool.scikit-build.package-data]
# myproj = ["py.typed"]
# myproj.simulation._csrc = ["*.pyi"]
[tool.mypy]
strict = true
ignore_missing_imports = true
warn_unused_configs = true
warn_unreachable = true
disable_error_code = []
mypy_path = ["python"]
[tool.pylint."MESSAGES CONTROL"]
disable = [
"C0114", # Missing module docstring
"C0115", # Missing class docstring
[tool.pylint.MASTER]
extension-pkg-allow-list = "myproj.simulation"