mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-02-12 16:11:00 +00:00
Fix setup.py
This commit is contained in:
17
setup.py
17
setup.py
@ -129,8 +129,11 @@ setup(
|
|||||||
description="Python Bindings for Libbpf",
|
description="Python Bindings for Libbpf",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/varun-r-mallya/pylibbpf",
|
url="https://github.com/pythonbpf/pylibbpf",
|
||||||
ext_modules=[CMakeExtension("pylibbpf")],
|
packages=find_packages(where="."),
|
||||||
|
package_dir={"": "."},
|
||||||
|
py_modules=[], # Empty since we use packages
|
||||||
|
ext_modules=[CMakeExtension("pylibbpf.pylibbpf")],
|
||||||
cmdclass={"build_ext": CMakeBuild},
|
cmdclass={"build_ext": CMakeBuild},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
@ -147,6 +150,16 @@ setup(
|
|||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
"Topic :: System :: Operating System Kernels :: Linux",
|
"Topic :: System :: Operating System Kernels :: Linux",
|
||||||
],
|
],
|
||||||
|
install_requires=[
|
||||||
|
"llvmlite>=0.40.0", # Required for struct conversion
|
||||||
|
],
|
||||||
extras_require={"test": ["pytest>=6.0"]},
|
extras_require={"test": ["pytest>=6.0"]},
|
||||||
python_requires=">=3.8",
|
python_requires=">=3.8",
|
||||||
|
package_data={
|
||||||
|
"pylibbpf": [
|
||||||
|
"*.py",
|
||||||
|
"py.typed", # For type hints
|
||||||
|
],
|
||||||
|
},
|
||||||
|
include_package_data=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user