-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (35 loc) · 1.13 KB
/
Copy pathpyproject.toml
File metadata and controls
40 lines (35 loc) · 1.13 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cf-precheck"
dynamic = ["version"]
description = "ChipFoundry MPW tapeout precheck tool"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9"
dependencies = [
"rich",
# Pin klayout to match the native toolchain in chipfoundry/mpw_precheck
# (RockyLinux 9 RPM: klayout-0.29.2). PyPI has shipped 0.30+ that are ABI-
# incompatible with the 0.29.2 native .so files baked in the base image,
# so leaving this unpinned causes `import pya` to fail with an
# `undefined symbol: _ZNK2db18shape_interactions...` ImportError after a
# `pip install --force-reinstall cf-precheck` on top of the base image.
# If the base image bumps its klayout RPM, bump this pin in lockstep.
"klayout==0.29.12",
"numpy",
"pyverilog",
"pyyaml",
"requests",
"strsimpy",
]
[project.scripts]
cf-precheck = "cf_precheck.cli:main"
[tool.hatch.version]
path = "src/cf_precheck/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/cf_precheck"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]