Config setuptools to get library location

This commit is contained in:
Pragyansh Chaturvedi
2025-11-11 17:12:31 +05:30
parent c26617d64f
commit 0780615fc5
2 changed files with 4 additions and 1 deletions

View File

@ -80,3 +80,7 @@ extend-select = [
"RUF", # Ruff-specific
"UP", # pyupgrade
]
[tool.setuptools]
packages = ["pylibbpf"]
package-data = {"pylibbpf" = ["*.py", "py.typed"]}

View File

@ -116,5 +116,4 @@ if readme_path.exists():
setup(
ext_modules=[CMakeExtension("pylibbpf.pylibbpf")],
cmdclass={"build_ext": CMakeBuild},
zip_safe=False,
)