LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File get_site-packages.py of Package pykpass (Project home:hauky)

import string
from distutils.sysconfig import get_python_lib
import sys

site_packages_dir=string.join(get_python_lib().split("/")[-5:],"/")
if sys.arch == "x86_64" :
  site_packages_dir=site_packages_dir.replace("lib/","lib64/")
print  site_packages_dir