Skip to content
Snippets Groups Projects
pyproject.toml 1.82 KiB
Newer Older
[build-system]
requires = ["scikit-build-core", "pybind11"]
build-backend = "scikit_build_core.build"

[project]
Xuefeng Ding's avatar
Xuefeng Ding committed
name = "myproj_simulation"
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"

Xuefeng Ding's avatar
Xuefeng Ding committed
dependencies = []

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"
Xuefeng Ding's avatar
Xuefeng Ding committed
Changelog = "https://package.readthedocs.io/en/latest/changelog.html"

[tool.scikit-build.wheel.packages]
"myproj/simulation" = "python/myproj/simulation"

Xuefeng Ding's avatar
Xuefeng Ding committed
[tool.scikit-build.wheel]
install-dir = "myproj/simulation"
exclude = ["CMakeLists.txt","*.cc","*.h"]
Xuefeng Ding's avatar
Xuefeng Ding committed

[tool.mypy]
strict = true
ignore_missing_imports = true
warn_unused_configs = true
warn_unreachable = true
disable_error_code = []
mypy_path = ["python"]

[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
line_length = 88
profile = "black"

[tool.pylint."MESSAGES CONTROL"]
disable = [
    "C0114",  # Missing module docstring
    "C0115",  # Missing class docstring
Xuefeng Ding's avatar
Xuefeng Ding committed
    "C0116",  # Missing function or method docstring
Xuefeng Ding's avatar
Xuefeng Ding committed
]
Xuefeng Ding's avatar
Xuefeng Ding committed

[tool.pylint.MASTER]
extension-pkg-allow-list = "myproj.simulation"