Don't package docs in the wheel
This commit is contained in:
parent
4aa7b680a7
commit
d49c76791a
|
@ -110,6 +110,10 @@ class ExtensionBuilder(build_ext):
|
||||||
print(f"fixing up {f}")
|
print(f"fixing up {f}")
|
||||||
subprocess.check_call(["patchelf", "--set-rpath", '$ORIGIN/../../lib', f])
|
subprocess.check_call(["patchelf", "--set-rpath", '$ORIGIN/../../lib', f])
|
||||||
|
|
||||||
|
# Remove docs
|
||||||
|
if os.path.exists(os.path.join(install_dir, "share", "doc")):
|
||||||
|
remove_tree(os.path.join(install_dir, "share", "doc"))
|
||||||
|
|
||||||
def build(setup_kwargs: Dict[str, Any]) -> None:
|
def build(setup_kwargs: Dict[str, Any]) -> None:
|
||||||
cmake_modules = [
|
cmake_modules = [
|
||||||
CMakeExtension("coloquinte", sourcedir="coloquinte"),
|
CMakeExtension("coloquinte", sourcedir="coloquinte"),
|
||||||
|
|
Loading…
Reference in New Issue