-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (42 loc) · 2.51 KB
/
pyproject.toml
File metadata and controls
47 lines (42 loc) · 2.51 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
# ──────────────────────────────────────────────────────────────
# Build system (PEP 517/518)
# ──────────────────────────────────────────────────────────────
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
# ──────────────────────────────────────────────────────────────
# Project metadata (PEP 621)
# ──────────────────────────────────────────────────────────────
[project]
name = "bcs" # the import name you want
version = "0.1.0"
requires-python = ">=3.10"
dependencies = []
[project.optional-dependencies]
dev = [
"pyright>=1.1.300",
]
# ──────────────────────────────────────────────────────────────
# Setuptools‑specific configuration
# ──────────────────────────────────────────────────────────────
[tool.setuptools]
# The wrapper package we created
packages = ["bcs"]
# Map the package name to the *junction* we created.
# Because the junction lives **inside** the project tree, setuptools can
# copy it when building an sdist/wheel.
package-dir = { bcs = "src/clients" }
# Include any non‑Python data files that sit next to the generated .py files.
include-package-data = true
[tool.setuptools.package-data]
bcs = ["py.typed"]
# ──────────────────────────────────────────────────────────────
# Pyright configuration (PEP 561 stub generation)
# ──────────────────────────────────────────────────────────────
[tool.pyright]
include = ["src"]
typeCheckingMode = "strict"
reportMissingTypeStubs = false
reportUnusedImport = true
reportUnusedVariable = true
reportGeneralTypeIssues = true