]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Strip debug symbols from wheel packages
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 8 Nov 2021 16:55:54 +0000 (17:55 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 8 Nov 2021 19:02:19 +0000 (20:02 +0100)
Close #142

.github/workflows/packages.yml

index 07f51954bc86fab6c32168d8fd2423e33f60a085..3286ab92ad22e6884286d99bd53380d5ec43bf9a 100644 (file)
@@ -115,6 +115,7 @@ jobs:
           CIBW_BUILD: ${{matrix.pyver}}-manylinux_${{matrix.arch}}
           CIBW_ARCHS_LINUX: auto aarch64 ppc64le
           CIBW_BEFORE_ALL_LINUX: ./tools/build/wheel_linux_before_all.sh
+          CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --strip -w {dest_dir} {wheel}'
           CIBW_TEST_REQUIRES: ./psycopg[test] ./psycopg_pool
           CIBW_TEST_COMMAND: pytest {project}/tests -m 'not slow' --color yes
           CIBW_ENVIRONMENT: >-