1414}
1515BANNED_SUFFIXES = {".pyc" , ".pyo" }
1616REQUIRED_WHEEL_FILES = {
17- PurePosixPath ("polars_techr /__init__.py" ),
18- PurePosixPath ("polars_techr /types.py" ),
17+ PurePosixPath ("techr /__init__.py" ),
18+ PurePosixPath ("techr /types.py" ),
1919}
2020REQUIRED_SDIST_FILES = {
2121 PurePosixPath ("pyproject.toml" ),
2222 PurePosixPath ("Cargo.toml" ),
2323 PurePosixPath ("README.md" ),
24- PurePosixPath ("polars_techr /__init__.py" ),
24+ PurePosixPath ("techr /__init__.py" ),
2525}
2626
2727
@@ -66,8 +66,8 @@ def validate_wheel(path: Path, members: list[PurePosixPath]) -> None:
6666 native_extensions = [
6767 member
6868 for member in members
69- if member .parent == PurePosixPath ("polars_techr " )
70- and member .name .startswith ("_polars_techr ." )
69+ if member .parent == PurePosixPath ("techr " )
70+ and member .name .startswith ("_techr ." )
7171 and member .suffix in {".so" , ".pyd" }
7272 ]
7373 if len (native_extensions ) != 1 :
@@ -86,10 +86,10 @@ def validate_sdist(path: Path, members: list[PurePosixPath]) -> None:
8686 raise ValueError (f"{ path .name } is missing files: { ', ' .join (missing_files )} " )
8787
8888 required_patterns = {
89- "polars_techr /*.py" : any (
89+ "techr /*.py" : any (
9090 member .suffix == ".py"
9191 and len (member .parts ) >= 2
92- and member .parts [- 2 ] == "polars_techr "
92+ and member .parts [- 2 ] == "techr "
9393 for member in normalized
9494 ),
9595 "src/*.rs" : any (
0 commit comments