PATH:
usr
/
share
/
doc
/
python-pycurl-7.19.0
/
tests
# -*- coding: iso-8859-1 -*- # vi:ts=4:et # $Id: util.py,v 1.4 2003/04/21 18:46:11 mfx Exp $ import os, sys # # prepare sys.path in case we are still in the build directory # see also: distutils/command/build.py (build_platlib) # def get_sys_path(p=None): if p is None: p = sys.path p = p[:] try: from distutils.util import get_platform except ImportError: return p p0 = "" if p: p0 = p[0] # plat = get_platform() plat_specifier = "%s-%s" % (plat, sys.version[:3]) ##print plat, plat_specifier # for prefix in (p0, os.curdir, os.pardir,): if not prefix: continue d = os.path.join(prefix, "build") for subdir in ("lib", "lib." + plat_specifier, "lib." + plat): dir = os.path.normpath(os.path.join(d, subdir)) if os.path.isdir(dir): if dir not in p: p.insert(1, dir) # return p
[-] test_stringio.py
[edit]
[-] test_xmlrpc.py
[edit]
[-] test_getinfo.py
[edit]
[-] test_internals.py
[edit]
[+]
..
[-] test_share.py
[edit]
[-] test_reset.py
[edit]
[-] test_cb.py
[edit]
[-] test_multi3.py
[edit]
[-] test.py
[edit]
[-] util.py
[edit]
[-] test_multi_socket_select.py
[edit]
[-] test_post.py
[edit]
[-] test_multi2.py
[edit]
[-] test_multi.py
[edit]
[-] test_multi6.py
[edit]
[-] test_ftp.py
[edit]
[-] test_gtk.py
[edit]
[-] test_multi4.py
[edit]
[-] test_write_abort.py
[edit]
[-] test_multi5.py
[edit]
[-] test_post3.py
[edit]
[-] test_memleak.py
[edit]
[-] test_post2.py
[edit]
[-] test_multi_socket.py
[edit]
[-] test_multi_timer.py
[edit]
[-] test_socketopen.py
[edit]
[-] util.pyc
[edit]
[-] test_multi_vs_thread.py
[edit]
[-] test_debug.py
[edit]