From 1cc76eda6ed0acf269c88978129ebad3a6621c82 Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Fri, 12 Jan 2024 00:17:09 -0500 Subject: [PATCH] Strip libraries --- Makefile | 4 ++-- data-core.py | 2 +- data-py.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dc67a0b..516ad19 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ package: ${BUILT_TGZ} '*/lib/lib*so.408' \ '*/share/opencv4/haarcascades/*.xml' \ '*/share/opencv4/lbpcascades/*.xml' - roborio-gen-whl data-core.py coredata -o dist + roborio-gen-whl data-core.py coredata -o dist --strip arm-frc2024-linux-gnueabi-strip # create dev package mkdir -p devdata/usr/local/lib @@ -44,4 +44,4 @@ package: ${BUILT_TGZ} mkdir -p data/usr/local/lib/python$(PYVERSION)/site-packages xtar -xf ${BUILT_TGZ} -C data/usr/local/lib/python$(PYVERSION)/site-packages --strip=4 \ '*/lib/python$(PYVERSION)/site-packages/cv2*.so' - roborio-gen-whl data-py.py data -o dist + roborio-gen-whl data-py.py data -o dist --strip arm-frc2024-linux-gnueabi-strip diff --git a/data-core.py b/data-core.py index a2442df..a216853 100644 --- a/data-core.py +++ b/data-core.py @@ -1,5 +1,5 @@ name = "robotpy-opencv-core" -version = "4.8.0+r1" +version = "4.8.0+r2" url = "https://opencv.org" license = "Apache 2" install_requires = ["numpy"] diff --git a/data-py.py b/data-py.py index f26c2c1..f61dbdb 100644 --- a/data-py.py +++ b/data-py.py @@ -1,5 +1,5 @@ name = "robotpy-opencv" -version = "4.8.0+r1" +version = "4.8.0+r2" url = "https://opencv.org" license = "Apache 2" install_requires = ["numpy", f"robotpy-opencv-core=={version}"]