Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def is_framework_python():
    return os.path.dirname(os.path.dirname(sys.prefix)).endswith('.framework')
        


src/b/d/bdist_mpkg-0.5.0/bdist_mpkg/tests/check_script.py   bdist_mpkg(Download)
from functools import partial
 
from bdist_mpkg.tools import is_framework_python
 
from nose import SkipTest
assert_true(isdir("%s%s/bdist_mpkg"
                  % (IMG_PATH, sysconfig.get_python_lib())))
if is_framework_python():
    assert_true(isfile("%s/usr/local/bin/bdist_mpkg" % (IMG_PATH,)))
else: