Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / python / runtime.d / | server ip : 172.67.156.115 your ip : 108.162.241.19 H O M E |
Filename | /usr/share/python/runtime.d/public_modules.rtinstall |
Size | 375 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:53 |
Last modified | 21-Dec-2013 22:14 |
Last accessed | 06-Jul-2025 03:17 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#! /bin/sh
set -e
VERSION=${2#python}
case "$VERSION" in
2.[45])
sitedir=/usr/lib/python$VERSION/site-packages;;
*)
sitedir=/usr/lib/python$VERSION/dist-packages
esac
if which python >/dev/null 2>&1 && which pycompile >/dev/null 2>&1; then
pycompile -V $VERSION $sitedir
else
echo >&2 "python or pycompile not found in $(basename $0) hook."
exit 1
fi
set -e
VERSION=${2#python}
case "$VERSION" in
2.[45])
sitedir=/usr/lib/python$VERSION/site-packages;;
*)
sitedir=/usr/lib/python$VERSION/dist-packages
esac
if which python >/dev/null 2>&1 && which pycompile >/dev/null 2>&1; then
pycompile -V $VERSION $sitedir
else
echo >&2 "python or pycompile not found in $(basename $0) hook."
exit 1
fi