mirror of
https://github.com/AntelopeIO/spring.git
synced 2026-07-21 14:43:30 +00:00
16 lines
430 B
Bash
16 lines
430 B
Bash
#!/bin/sh
|
|
|
|
# Cleanup symbolic links created during postinst
|
|
Python_SITELIB=$(python3 <<EOF
|
|
import sys
|
|
if sys.version_info < (3, 10, 0):
|
|
from distutils import sysconfig
|
|
print(sysconfig.get_python_lib(plat_specific=False,standard_lib=False))
|
|
else:
|
|
from sysconfig import get_path; print(get_path('platlib', 'deb_system'))
|
|
EOF
|
|
)
|
|
|
|
rm -f $Python_SITELIB/TestHarness
|
|
rm -f @CMAKE_INSTALL_FULL_DATAROOTDIR@/spring_testing/bin
|