linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit 86a1c232aad3889cb2ce0139fb8aa2b3a5192e6c parent b3b23afedb266dfee01463910e716c2ac43135fe Author: Jul <jul@9o.is> Date: Mon, 24 Nov 2025 02:58:06 -0500 add python -- missing modules but initializes Diffstat:
| M | pkg/gen.sh | | | 1 | + |
| M | pkg/genfn.sh | | | 18 | ++++++++++++++++++ |
| A | pkg/python/gen.sh | | | 196 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | pkg/python/makesetup.sh | | | 15 | +++++++++++++++ |
| A | pkg/python/pyconfig.h | | | 564 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | pkg/python/pylibs.txt | | | 721 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| M | qubes/example/gen.sh | | | 3 | ++- |
7 files changed, 1517 insertions(+), 1 deletion(-)
diff --git a/pkg/gen.sh b/pkg/gen.sh @@ -34,6 +34,7 @@ pkg pax pkg pcre pkg perp pkg probe +pkg python pkg sbase pkg sinit pkg ubase diff --git a/pkg/genfn.sh b/pkg/genfn.sh @@ -148,12 +148,18 @@ lib() { } compile() { + _cflags= _srcs= _objs= _libs= _deps= _hdrs= + if [ $1 = --cflags ]; then + _cflags="$2" + shift 2 + fi + for _src in $*; do case $_src in *.[cS]) _srcs="$_srcs $_src";; @@ -185,6 +191,10 @@ compile() { cc $_obj $_src _objs="$_objs $_obj" OBJS="$OBJS $_obj" + + if [ "$_cflags" ]; then + bind cflags $cflags $_cflags + fi done } @@ -196,6 +206,14 @@ binfiles() { done } +libfiles() { + files $* + for _file in $_files; do + _out=${_file#*/} + file reg 0644 '$libdir'/$_out $OUTDIR/$_out + done +} + share() { files --prefix $datdir $* diff --git a/pkg/python/gen.sh b/pkg/python/gen.sh @@ -0,0 +1,196 @@ +fetch curl https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz \ + 5a99f8e7a6a11a7b98b4e75e0d1303d3832cada5534068f69c7b6222a7b1b002 + +cflags " + -DNDEBUG + -DPLATLIBDIR=\\\"lib\\\" + -DPYTHONPATH=\\\":plat-linux\\\" + -DPREFIX=\\\"/\\\" + -DEXEC_PREFIX=\\\"/\\\" + -DVERSION=\\\"3.10\\\" + -DVPATH=\\\"\\\" + -DPLATFORM=\\\"linux\\\" + -DABIFLAGS=\\\"\\\" + -I$dir + -I$srcdir/Include + -I$srcdir/Include/internal + -isystem $pkgdir/linux-headers/include + -Wno-missing-field-initializers + -Wno-unused-parameter + -Wno-pedantic +" + +dep linux-headers/headers + +rule makesetup 'sh $dir/makesetup.sh $modules <$in >$out' +bind description 'MAKESETUP $out' + +setup_modules() { + srcs= + for mod in $*; do + eval mod_srcs=\"\$mod_$mod\" + for src in $mod_srcs; do + srcs="$srcs Modules/$src" + done + done + makesetup config.c Modules/config.c.in + bind modules $* + compile --cflags -DPy_BUILD_CORE_BUILTIN "$srcs" +} + +mod__codecs='_codecsmodule.c' +mod__io='_io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c' +mod__signal='signalmodule.c' +mod__sre='_sre.c' +mod__thread='_threadmodule.c' +mod__tracemalloc='_tracemalloc.c' +mod__weakref='_weakref.c' +mod_atexit='atexitmodule.c' +mod_faulthandler='faulthandler.c' +mod_itertools='itertoolsmodule.c' +mod_posix='posixmodule.c' + +setup_modules " + _codecs + _io + _signal + _sre + _thread + _tracemalloc + _weakref + atexit + faulthandler + itertools + posix +" + +cflags -DPy_BUILD_CORE + +lib libpython.a " + $_objs + $outdir/config.c + Modules/getbuildinfo.c + Modules/getpath.c + Modules/main.c + Modules/gcmodule.c + Objects/abstract.c + Objects/accu.c + Objects/boolobject.c + Objects/bytes_methods.c + Objects/bytearrayobject.c + Objects/bytesobject.c + Objects/call.c + Objects/capsule.c + Objects/cellobject.c + Objects/classobject.c + Objects/codeobject.c + Objects/complexobject.c + Objects/descrobject.c + Objects/enumobject.c + Objects/exceptions.c + Objects/genericaliasobject.c + Objects/genobject.c + Objects/fileobject.c + Objects/floatobject.c + Objects/frameobject.c + Objects/funcobject.c + Objects/interpreteridobject.c + Objects/iterobject.c + Objects/listobject.c + Objects/longobject.c + Objects/dictobject.c + Objects/odictobject.c + Objects/memoryobject.c + Objects/methodobject.c + Objects/moduleobject.c + Objects/namespaceobject.c + Objects/object.c + Objects/obmalloc.c + Objects/picklebufobject.c + Objects/rangeobject.c + Objects/setobject.c + Objects/sliceobject.c + Objects/structseq.c + Objects/tupleobject.c + Objects/typeobject.c + Objects/unicodeobject.c + Objects/unicodectype.c + Objects/unionobject.c + Objects/weakrefobject.c + Parser/token.c + Parser/pegen.c + Parser/parser.c + Parser/string_parser.c + Parser/peg_api.c + Parser/myreadline.c + Parser/tokenizer.c + Python/_warnings.c + Python/Python-ast.c + Python/asdl.c + Python/ast.c + Python/ast_opt.c + Python/ast_unparse.c + Python/bltinmodule.c + Python/ceval.c + Python/codecs.c + Python/compile.c + Python/context.c + Python/errors.c + Python/frozenmain.c + Python/future.c + Python/getargs.c + Python/getcompiler.c + Python/getcopyright.c + Python/getplatform.c + Python/getversion.c + Python/hamt.c + Python/hashtable.c + Python/import.c + Python/importdl.c + Python/initconfig.c + Python/marshal.c + Python/modsupport.c + Python/mysnprintf.c + Python/mystrtoul.c + Python/pathconfig.c + Python/preconfig.c + Python/pyarena.c + Python/pyctype.c + Python/pyfpe.c + Python/pyhash.c + Python/pylifecycle.c + Python/pymath.c + Python/pystate.c + Python/pythonrun.c + Python/pytime.c + Python/bootstrap_hash.c + Python/structmember.c + Python/symtable.c + Python/sysmodule.c + Python/thread.c + Python/traceback.c + Python/getopt.c + Python/pystrcmp.c + Python/pystrtod.c + Python/pystrhex.c + Python/dtoa.c + Python/formatter_unicode.c + Python/fileutils.c + Python/suggestions.c + Python/dynload_stub.c + Python/frozen.c +" + +bin python3 Programs/python.c libpython.a +sym bin/python python3 + +copy python3.1 Misc/python.man +man $outdir/python3.1 +sym share/man/man1/python.1.gz python3.1.gz + +pylibs() { + libfiles --keep-path --src-prefix Lib --prefix python3.10 $1 +} + +# 2,<cd src/Lib && find * '(' -name test -o -name tests -o -name idle_test ')' '!' -prune -o -name '*.py' -o -name '*Grammar.txt' | LC_COLLATE=C sort +foreach pylibs.txt pylibs diff --git a/pkg/python/makesetup.sh b/pkg/python/makesetup.sh @@ -0,0 +1,15 @@ +while read -r line; do + case "$line" in + '/* -- ADDMODULE MARKER 1 -- */') + printf 'extern PyObject *PyInit_%s(void);\n' "$@" + ;; + '/* -- ADDMODULE MARKER 2 -- */') + for mod in $@; do + printf '{"%s", PyInit_%s},\n' $mod $mod + done + ;; + *) + printf '%s\n' "$line" + ;; + esac +done diff --git a/pkg/python/pyconfig.h b/pkg/python/pyconfig.h @@ -0,0 +1,564 @@ +#ifndef Py_PYCONFIG_H +#define Py_PYCONFIG_H +/* #undef AC_APPLE_UNIVERSAL_BUILD */ +/* #undef AIX_BUILDDATE */ +/* #undef AIX_GENUINE_CPLUSPLUS */ +#define ALIGNOF_LONG 8 +#define ALIGNOF_SIZE_T 8 +/* #undef ALT_SOABI */ +/* #undef ANDROID_API_LEVEL */ +/* #undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 */ +/* #undef DOUBLE_IS_BIG_ENDIAN_IEEE754 */ +#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1 +#define ENABLE_IPV6 1 +/* #undef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS */ +/* #undef FLOAT_WORDS_BIGENDIAN */ +/* #undef FLOCK_NEEDS_LIBBSD */ +/* #undef GETPGRP_HAVE_ARG */ +#define HAVE_ACCEPT4 1 +#define HAVE_ACOSH 1 +#define HAVE_ADDRINFO 1 +#define HAVE_ALARM 1 +/* #undef HAVE_ALIGNED_REQUIRED */ +#define HAVE_ALLOCA_H 1 +/* #undef HAVE_ALTZONE */ +#define HAVE_ASINH 1 +#define HAVE_ASM_TYPES_H 1 +#define HAVE_ATANH 1 +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +/* #undef HAVE_BLUETOOTH_BLUETOOTH_H */ +/* #undef HAVE_BLUETOOTH_H */ +/* #undef HAVE_BROKEN_MBSTOWCS */ +/* #undef HAVE_BROKEN_NICE */ +/* #undef HAVE_BROKEN_PIPE_BUF */ +/* #undef HAVE_BROKEN_POLL */ +/* #undef HAVE_BROKEN_POSIX_SEMAPHORES */ +/* #undef HAVE_BROKEN_PTHREAD_SIGMASK */ +/* #undef HAVE_BROKEN_SEM_GETVALUE */ +/* #undef HAVE_BROKEN_UNSETENV */ +#define HAVE_BUILTIN_ATOMIC 1 +/* #undef HAVE_CHFLAGS */ +#define HAVE_CHOWN 1 +#define HAVE_CHROOT 1 +#define HAVE_CLOCK 1 +#define HAVE_CLOCK_GETRES 1 +#define HAVE_CLOCK_GETTIME 1 +#define HAVE_CLOCK_SETTIME 1 +/* #undef HAVE_CLOSE_RANGE */ +#define HAVE_COMPUTED_GOTOS 1 +#define HAVE_CONFSTR 1 +/* #undef HAVE_CONIO_H */ +#define HAVE_COPYSIGN 1 +#define HAVE_COPY_FILE_RANGE 1 +#define HAVE_CRYPT_H 1 +#define HAVE_CRYPT_R 1 +#define HAVE_CTERMID 1 +/* #undef HAVE_CTERMID_R */ +/* #undef HAVE_CURSES_FILTER */ +/* #undef HAVE_CURSES_H */ +/* #undef HAVE_CURSES_HAS_KEY */ +/* #undef HAVE_CURSES_IMMEDOK */ +/* #undef HAVE_CURSES_IS_PAD */ +/* #undef HAVE_CURSES_IS_TERM_RESIZED */ +/* #undef HAVE_CURSES_RESIZETERM */ +/* #undef HAVE_CURSES_RESIZE_TERM */ +/* #undef HAVE_CURSES_SYNCOK */ +/* #undef HAVE_CURSES_TYPEAHEAD */ +/* #undef HAVE_CURSES_USE_ENV */ +/* #undef HAVE_CURSES_WCHGAT */ +#define HAVE_DECL_ISFINITE 1 +#define HAVE_DECL_ISINF 1 +#define HAVE_DECL_ISNAN 1 +#define HAVE_DECL_RTLD_DEEPBIND 0 +#define HAVE_DECL_RTLD_GLOBAL 1 +#define HAVE_DECL_RTLD_LAZY 1 +#define HAVE_DECL_RTLD_LOCAL 1 +#define HAVE_DECL_RTLD_MEMBER 0 +#define HAVE_DECL_RTLD_NODELETE 1 +#define HAVE_DECL_RTLD_NOLOAD 1 +#define HAVE_DECL_RTLD_NOW 1 +/* #undef HAVE_DECL_TZNAME */ +#define HAVE_DEVICE_MACROS 1 +/* #undef HAVE_DEV_PTC */ +#define HAVE_DEV_PTMX 1 +/* #undef HAVE_DIRECT_H */ +#define HAVE_DIRENT_D_TYPE 1 +#define HAVE_DIRENT_H 1 +#define HAVE_DIRFD 1 +#define HAVE_DLFCN_H 1 +/* #undef HAVE_DLOPEN */ +#define HAVE_DUP2 1 +#define HAVE_DUP3 1 +/* #undef HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH */ +/* #undef HAVE_DYNAMIC_LOADING */ +#define HAVE_ENDIAN_H 1 +#define HAVE_EPOLL 1 +#define HAVE_EPOLL_CREATE1 1 +#define HAVE_ERF 1 +#define HAVE_ERFC 1 +#define HAVE_ERRNO_H 1 +#define HAVE_EVENTFD 1 +#define HAVE_EXECV 1 +#define HAVE_EXPLICIT_BZERO 1 +/* #undef HAVE_EXPLICIT_MEMSET */ +#define HAVE_EXPM1 1 +#define HAVE_FACCESSAT 1 +#define HAVE_FCHDIR 1 +#define HAVE_FCHMOD 1 +#define HAVE_FCHMODAT 1 +#define HAVE_FCHOWN 1 +#define HAVE_FCHOWNAT 1 +#define HAVE_FCNTL_H 1 +#define HAVE_FDATASYNC 1 +#define HAVE_FDOPENDIR 1 +/* #undef HAVE_FDWALK */ +#define HAVE_FEXECVE 1 +#define HAVE_FINITE 1 +#define HAVE_FLOCK 1 +#define HAVE_FORK 1 +#define HAVE_FORKPTY 1 +#define HAVE_FPATHCONF 1 +/* #undef HAVE_FSEEK64 */ +#define HAVE_FSEEKO 1 +#define HAVE_FSTATAT 1 +#define HAVE_FSTATVFS 1 +#define HAVE_FSYNC 1 +/* #undef HAVE_FTELL64 */ +#define HAVE_FTELLO 1 +#define HAVE_FTIME 1 +#define HAVE_FTRUNCATE 1 +#define HAVE_FUTIMENS 1 +#define HAVE_FUTIMES 1 +#define HAVE_FUTIMESAT 1 +#define HAVE_GAI_STRERROR 1 +/* #undef HAVE_GAMMA */ +/* #undef HAVE_GCC_ASM_FOR_MC68881 */ +#define HAVE_GCC_ASM_FOR_X64 1 +#define HAVE_GCC_ASM_FOR_X87 1 +#define HAVE_GCC_UINT128_T 1 +#define HAVE_GETADDRINFO 1 +#define HAVE_GETC_UNLOCKED 1 +#define HAVE_GETENTROPY 1 +#define HAVE_GETGRGID_R 1 +#define HAVE_GETGRNAM_R 1 +#define HAVE_GETGROUPLIST 1 +#define HAVE_GETGROUPS 1 +/* #undef HAVE_GETHOSTBYNAME */ +#define HAVE_GETHOSTBYNAME_R 1 +/* #undef HAVE_GETHOSTBYNAME_R_3_ARG */ +/* #undef HAVE_GETHOSTBYNAME_R_5_ARG */ +#define HAVE_GETHOSTBYNAME_R_6_ARG 1 +#define HAVE_GETITIMER 1 +#define HAVE_GETLOADAVG 1 +#define HAVE_GETLOGIN 1 +#define HAVE_GETNAMEINFO 1 +#define HAVE_GETPAGESIZE 1 +#define HAVE_GETPEERNAME 1 +#define HAVE_GETPGID 1 +#define HAVE_GETPGRP 1 +#define HAVE_GETPID 1 +#define HAVE_GETPRIORITY 1 +#define HAVE_GETPWENT 1 +#define HAVE_GETPWNAM_R 1 +#define HAVE_GETPWUID_R 1 +#define HAVE_GETRANDOM 1 +#define HAVE_GETRANDOM_SYSCALL 1 +#define HAVE_GETRESGID 1 +#define HAVE_GETRESUID 1 +#define HAVE_GETSID 1 +#define HAVE_GETSPENT 1 +#define HAVE_GETSPNAM 1 +/* #undef HAVE_GETWD */ +/* #undef HAVE_GLIBC_MEMMOVE_BUG */ +#define HAVE_GRP_H 1 +#define HAVE_HSTRERROR 1 +#define HAVE_HTOLE64 1 +#define HAVE_HYPOT 1 +/* #undef HAVE_IEEEFP_H */ +#define HAVE_IF_NAMEINDEX 1 +#define HAVE_INET_ATON 1 +#define HAVE_INET_PTON 1 +#define HAVE_INITGROUPS 1 +#define HAVE_INTTYPES_H 1 +/* #undef HAVE_IO_H */ +/* #undef HAVE_IPA_PURE_CONST_BUG */ +#define HAVE_KILL 1 +#define HAVE_KILLPG 1 +/* #undef HAVE_KQUEUE */ +#define HAVE_LANGINFO_H 1 +/* #undef HAVE_LARGEFILE_SUPPORT */ +/* #undef HAVE_LCHFLAGS */ +/* #undef HAVE_LCHMOD */ +#define HAVE_LCHOWN 1 +#define HAVE_LGAMMA 1 +#define HAVE_LIBDL 1 +/* #undef HAVE_LIBDLD */ +/* #undef HAVE_LIBIEEE */ +#define HAVE_LIBINTL_H 1 +/* #undef HAVE_LIBREADLINE */ +/* #undef HAVE_LIBRESOLV */ +/* #undef HAVE_LIBSENDFILE */ +/* #undef HAVE_LIBUTIL_H */ +#define HAVE_LINK 1 +#define HAVE_LINKAT 1 +#define HAVE_LINUX_CAN_BCM_H 1 +#define HAVE_LINUX_CAN_H 1 +#define HAVE_LINUX_CAN_J1939_H 1 +#define HAVE_LINUX_CAN_RAW_FD_FRAMES 1 +#define HAVE_LINUX_CAN_RAW_H 1 +#define HAVE_LINUX_CAN_RAW_JOIN_FILTERS 1 +#define HAVE_LINUX_MEMFD_H 1 +#define HAVE_LINUX_NETLINK_H 1 +#define HAVE_LINUX_QRTR_H 1 +#define HAVE_LINUX_RANDOM_H 1 +#define HAVE_LINUX_TIPC_H 1 +#define HAVE_LINUX_VM_SOCKETS_H 1 +#define HAVE_LINUX_WAIT_H 1 +#define HAVE_LOCKF 1 +#define HAVE_LOG1P 1 +#define HAVE_LOG2 1 +#define HAVE_LONG_DOUBLE 1 +#define HAVE_LSTAT 1 +#define HAVE_LUTIMES 1 +#define HAVE_MADVISE 1 +#define HAVE_MAKEDEV 1 +#define HAVE_MBRTOWC 1 +#define HAVE_MEMFD_CREATE 1 +#define HAVE_MEMORY_H 1 +#define HAVE_MEMRCHR 1 +#define HAVE_MKDIRAT 1 +#define HAVE_MKFIFO 1 +#define HAVE_MKFIFOAT 1 +#define HAVE_MKNOD 1 +#define HAVE_MKNODAT 1 +#define HAVE_MKTIME 1 +#define HAVE_MMAP 1 +#define HAVE_MREMAP 1 +/* #undef HAVE_NCURSES_H */ +/* #undef HAVE_NDIR_H */ +#define HAVE_NETPACKET_PACKET_H 1 +#define HAVE_NET_IF_H 1 +#define HAVE_NICE 1 +/* #undef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION */ +#define HAVE_OPENAT 1 +#define HAVE_OPENPTY 1 +#define HAVE_PATHCONF 1 +#define HAVE_PAUSE 1 +#define HAVE_PIPE2 1 +/* #undef HAVE_PLOCK */ +#define HAVE_POLL 1 +#define HAVE_POLL_H 1 +#define HAVE_POSIX_FADVISE 1 +#define HAVE_POSIX_FALLOCATE 1 +#define HAVE_POSIX_SPAWN 1 +#define HAVE_POSIX_SPAWNP 1 +#define HAVE_PREAD 1 +#define HAVE_PREADV 1 +/* #undef HAVE_PREADV2 */ +#define HAVE_PRLIMIT 1 +/* #undef HAVE_PROCESS_H */ +#define HAVE_PROTOTYPES 1 +#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 +/* #undef HAVE_PTHREAD_DESTRUCTOR */ +#define HAVE_PTHREAD_GETCPUCLOCKID 1 +#define HAVE_PTHREAD_H 1 +/* #undef HAVE_PTHREAD_INIT */ +#define HAVE_PTHREAD_KILL 1 +#define HAVE_PTHREAD_SIGMASK 1 +#define HAVE_PTY_H 1 +#define HAVE_PWRITE 1 +#define HAVE_PWRITEV 1 +/* #undef HAVE_PWRITEV2 */ +#define HAVE_READLINK 1 +#define HAVE_READLINKAT 1 +#define HAVE_READV 1 +#define HAVE_REALPATH 1 +#define HAVE_RENAMEAT 1 +/* #undef HAVE_RL_APPEND_HISTORY */ +/* #undef HAVE_RL_CATCH_SIGNAL */ +/* #undef HAVE_RL_COMPLETION_APPEND_CHARACTER */ +/* #undef HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK */ +/* #undef HAVE_RL_COMPLETION_MATCHES */ +/* #undef HAVE_RL_COMPLETION_SUPPRESS_APPEND */ +/* #undef HAVE_RL_PRE_INPUT_HOOK */ +/* #undef HAVE_RL_RESIZE_TERMINAL */ +#define HAVE_ROUND 1 +/* #undef HAVE_RTPSPAWN */ +#define HAVE_SCHED_GET_PRIORITY_MAX 1 +#define HAVE_SCHED_H 1 +#define HAVE_SCHED_RR_GET_INTERVAL 1 +#define HAVE_SCHED_SETAFFINITY 1 +#define HAVE_SCHED_SETPARAM 1 +#define HAVE_SCHED_SETSCHEDULER 1 +#define HAVE_SEM_GETVALUE 1 +#define HAVE_SEM_OPEN 1 +#define HAVE_SEM_TIMEDWAIT 1 +#define HAVE_SEM_UNLINK 1 +#define HAVE_SENDFILE 1 +#define HAVE_SETEGID 1 +#define HAVE_SETEUID 1 +#define HAVE_SETGID 1 +#define HAVE_SETGROUPS 1 +#define HAVE_SETHOSTNAME 1 +#define HAVE_SETITIMER 1 +#define HAVE_SETLOCALE 1 +#define HAVE_SETPGID 1 +#define HAVE_SETPGRP 1 +#define HAVE_SETPRIORITY 1 +#define HAVE_SETREGID 1 +#define HAVE_SETRESGID 1 +#define HAVE_SETRESUID 1 +#define HAVE_SETREUID 1 +#define HAVE_SETSID 1 +#define HAVE_SETUID 1 +#define HAVE_SETVBUF 1 +#define HAVE_SHADOW_H 1 +#define HAVE_SHM_OPEN 1 +#define HAVE_SHM_UNLINK 1 +#define HAVE_SIGACTION 1 +#define HAVE_SIGALTSTACK 1 +#define HAVE_SIGFILLSET 1 +#define HAVE_SIGINFO_T_SI_BAND 1 +#define HAVE_SIGINTERRUPT 1 +#define HAVE_SIGNAL_H 1 +#define HAVE_SIGPENDING 1 +#define HAVE_SIGRELSE 1 +#define HAVE_SIGTIMEDWAIT 1 +#define HAVE_SIGWAIT 1 +#define HAVE_SIGWAITINFO 1 +#define HAVE_SNPRINTF 1 +#define HAVE_SOCKADDR_ALG 1 +/* #undef HAVE_SOCKADDR_SA_LEN */ +#define HAVE_SOCKADDR_STORAGE 1 +#define HAVE_SOCKETPAIR 1 +#define HAVE_SPAWN_H 1 +#define HAVE_SPLICE 1 +#define HAVE_SSIZE_T 1 +#define HAVE_STATVFS 1 +#define HAVE_STAT_TV_NSEC 1 +/* #undef HAVE_STAT_TV_NSEC2 */ +#define HAVE_STDARG_PROTOTYPES 1 +#define HAVE_STDINT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STD_ATOMIC 1 +#define HAVE_STRFTIME 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRLCPY 1 +#define HAVE_STROPTS_H 1 +#define HAVE_STRSIGNAL 1 +#define HAVE_STRUCT_PASSWD_PW_GECOS 1 +#define HAVE_STRUCT_PASSWD_PW_PASSWD 1 +/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ +#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 +#define HAVE_STRUCT_STAT_ST_BLOCKS 1 +/* #undef HAVE_STRUCT_STAT_ST_FLAGS */ +/* #undef HAVE_STRUCT_STAT_ST_GEN */ +#define HAVE_STRUCT_STAT_ST_RDEV 1 +#define HAVE_STRUCT_TM_TM_ZONE 1 +#define HAVE_SYMLINK 1 +#define HAVE_SYMLINKAT 1 +#define HAVE_SYNC 1 +#define HAVE_SYSCONF 1 +#define HAVE_SYSEXITS_H 1 +/* #undef HAVE_SYS_AUDIOIO_H */ +/* #undef HAVE_SYS_BSDTTY_H */ +/* #undef HAVE_SYS_DEVPOLL_H */ +/* #undef HAVE_SYS_DIR_H */ +/* #undef HAVE_SYS_ENDIAN_H */ +#define HAVE_SYS_EPOLL_H 1 +#define HAVE_SYS_EVENTFD_H 1 +/* #undef HAVE_SYS_EVENT_H */ +#define HAVE_SYS_FILE_H 1 +#define HAVE_SYS_IOCTL_H 1 +/* #undef HAVE_SYS_KERN_CONTROL_H */ +/* #undef HAVE_SYS_LOADAVG_H */ +/* #undef HAVE_SYS_LOCK_H */ +/* #undef HAVE_SYS_MEMFD_H */ +/* #undef HAVE_SYS_MKDEV_H */ +#define HAVE_SYS_MMAN_H 1 +/* #undef HAVE_SYS_MODEM_H */ +/* #undef HAVE_SYS_NDIR_H */ +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_POLL_H 1 +#define HAVE_SYS_RANDOM_H 1 +#define HAVE_SYS_RESOURCE_H 1 +#define HAVE_SYS_SELECT_H 1 +#define HAVE_SYS_SENDFILE_H 1 +#define HAVE_SYS_SOCKET_H 1 +#define HAVE_SYS_STATVFS_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_SYSCALL_H 1 +#define HAVE_SYS_SYSMACROS_H 1 +/* #undef HAVE_SYS_SYS_DOMAIN_H */ +/* #undef HAVE_SYS_TERMIO_H */ +#define HAVE_SYS_TIMES_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_UIO_H 1 +#define HAVE_SYS_UN_H 1 +#define HAVE_SYS_UTSNAME_H 1 +#define HAVE_SYS_WAIT_H 1 +#define HAVE_SYS_XATTR_H 1 +#define HAVE_TCGETPGRP 1 +#define HAVE_TCSETPGRP 1 +#define HAVE_TEMPNAM 1 +#define HAVE_TERMIOS_H 1 +/* #undef HAVE_TERM_H */ +#define HAVE_TGAMMA 1 +#define HAVE_TIMEGM 1 +#define HAVE_TIMES 1 +#define HAVE_TMPFILE 1 +#define HAVE_TMPNAM 1 +/* #undef HAVE_TMPNAM_R */ +#define HAVE_TM_ZONE 1 +#define HAVE_TRUNCATE 1 +/* #undef HAVE_TZNAME */ +/* #undef HAVE_UCS4_TCL */ +#define HAVE_UNAME 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNLINKAT 1 +/* #undef HAVE_USABLE_WCHAR_T */ +/* #undef HAVE_UTIL_H */ +#define HAVE_UTIMENSAT 1 +#define HAVE_UTIMES 1 +#define HAVE_UTIME_H 1 +/* #undef HAVE_UUID_CREATE */ +/* #undef HAVE_UUID_ENC_BE */ +/* #undef HAVE_UUID_GENERATE_TIME_SAFE */ +/* #undef HAVE_UUID_H */ +/* #undef HAVE_UUID_UUID_H */ +#define HAVE_VFORK 1 +#define HAVE_WAIT3 1 +#define HAVE_WAIT4 1 +#define HAVE_WAITID 1 +#define HAVE_WAITPID 1 +#define HAVE_WCHAR_H 1 +#define HAVE_WCSCOLL 1 +#define HAVE_WCSFTIME 1 +#define HAVE_WCSXFRM 1 +#define HAVE_WMEMCMP 1 +#define HAVE_WORKING_TZSET 1 +#define HAVE_WRITEV 1 +#define HAVE_ZLIB_COPY 1 +/* #undef HAVE__GETPTY */ +/* #undef MAJOR_IN_MKDEV */ +#define MAJOR_IN_SYSMACROS 1 +/* #undef MVWDELCH_IS_EXPRESSION */ +/* #undef PACKAGE_BUGREPORT */ +/* #undef PACKAGE_NAME */ +/* #undef PACKAGE_STRING */ +/* #undef PACKAGE_TARNAME */ +/* #undef PACKAGE_URL */ +/* #undef PACKAGE_VERSION */ +/* #undef POSIX_SEMAPHORES_NOT_ENABLED */ +#define PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT 1 +#define PTHREAD_SYSTEM_SCHED_SUPPORTED 1 +/* #undef PYLONG_BITS_IN_DIGIT */ +#define PY_BUILTIN_HASHLIB_HASHES "sha3,blake2" +#define PY_COERCE_C_LOCALE 1 +#define PY_FORMAT_SIZE_T "z" +#define PY_SSL_DEFAULT_CIPHERS 0 +#define PY_SSL_DEFAULT_CIPHER_STRING "TLSv1.3:TLSv1.2+AEAD+ECDHE:TLSv1.2+AEAD+DHE" +/* #undef Py_DEBUG */ +/* #undef Py_ENABLE_SHARED */ +/* #undef Py_HASH_ALGORITHM */ +/* #undef Py_TRACE_REFS */ +#define RETSIGTYPE void +/* #undef SETPGRP_HAVE_ARG */ +/* #undef SHM_NEEDS_LIBRT */ +/* #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS */ +#define SIZEOF_DOUBLE 8 +#define SIZEOF_FLOAT 4 +#define SIZEOF_FPOS_T 16 +#define SIZEOF_INT 4 +#define SIZEOF_LONG 8 +#define SIZEOF_LONG_DOUBLE 16 +#define SIZEOF_LONG_LONG 8 +#define SIZEOF_OFF_T 8 +#define SIZEOF_PID_T 4 +#define SIZEOF_PTHREAD_KEY_T 4 +#define SIZEOF_PTHREAD_T 8 +#define SIZEOF_SHORT 2 +#define SIZEOF_SIZE_T 8 +#define SIZEOF_TIME_T 8 +#define SIZEOF_UINTPTR_T 8 +#define SIZEOF_VOID_P 8 +#define SIZEOF_WCHAR_T 4 +#define SIZEOF__BOOL 1 +#define STDC_HEADERS 1 +#define SYS_SELECT_WITH_SYS_TIME 1 +/* #undef TIMEMODULE_LIB */ +#define TIME_WITH_SYS_TIME 1 +/* #undef TM_IN_SYS_TIME */ +/* #undef USE_COMPUTED_GOTOS */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif +/* #undef WINDOW_HAS_FLAGS */ +#define WITH_DECIMAL_CONTEXTVAR 1 +#define WITH_DOC_STRINGS 1 +/* #undef WITH_DTRACE */ +/* #undef WITH_DYLD */ +/* #undef WITH_EDITLINE */ +/* #undef WITH_LIBINTL */ +/* #undef WITH_NEXT_FRAMEWORK */ +/* #undef WITH_PYMALLOC */ +/* #undef WITH_VALGRIND */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif +/* #undef X87_DOUBLE_ROUNDING */ +/* #undef _BSD_SOURCE */ +#define _DARWIN_C_SOURCE 1 +#define _FILE_OFFSET_BITS 64 +#define _GNU_SOURCE 1 +/* #undef _INCLUDE__STDC_A1_SOURCE */ +#define _LARGEFILE_SOURCE 1 +/* #undef _LARGE_FILES */ +/* #undef _MINIX */ +#define _NETBSD_SOURCE 1 +/* #undef _POSIX_1_SOURCE */ +#define _POSIX_C_SOURCE 200809L +/* #undef _POSIX_SOURCE */ +/* #undef _POSIX_THREADS */ +#define _PYTHONFRAMEWORK "" +#define _REENTRANT 1 +#define _XOPEN_SOURCE 700 +#define _XOPEN_SOURCE_EXTENDED 1 +#define __BSD_VISIBLE 1 +#ifndef __CHAR_UNSIGNED__ +/* # undef __CHAR_UNSIGNED__ */ +#endif +/* #undef clock_t */ +/* #undef const */ +/* #undef gid_t */ +/* #undef mode_t */ +/* #undef off_t */ +/* #undef pid_t */ +/* #undef signed */ +/* #undef size_t */ +/* #undef socklen_t */ +/* #undef uid_t */ +#if defined(__USLC__) && defined(__SCO_VERSION__) +#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */ +#endif +#endif /*Py_PYCONFIG_H*/ diff --git a/pkg/python/pylibs.txt b/pkg/python/pylibs.txt @@ -0,0 +1,721 @@ +__future__.py +__phello__.foo.py +_aix_support.py +_bootsubprocess.py +_collections_abc.py +_compat_pickle.py +_compression.py +_markupbase.py +_osx_support.py +_py_abc.py +_pydecimal.py +_pyio.py +_sitebuiltins.py +_strptime.py +_threading_local.py +_weakrefset.py +abc.py +aifc.py +antigravity.py +argparse.py +ast.py +asynchat.py +asyncio/__init__.py +asyncio/__main__.py +asyncio/base_events.py +asyncio/base_futures.py +asyncio/base_subprocess.py +asyncio/base_tasks.py +asyncio/constants.py +asyncio/coroutines.py +asyncio/events.py +asyncio/exceptions.py +asyncio/format_helpers.py +asyncio/futures.py +asyncio/locks.py +asyncio/log.py +asyncio/mixins.py +asyncio/proactor_events.py +asyncio/protocols.py +asyncio/queues.py +asyncio/runners.py +asyncio/selector_events.py +asyncio/sslproto.py +asyncio/staggered.py +asyncio/streams.py +asyncio/subprocess.py +asyncio/tasks.py +asyncio/threads.py +asyncio/transports.py +asyncio/trsock.py +asyncio/unix_events.py +asyncio/windows_events.py +asyncio/windows_utils.py +asyncore.py +base64.py +bdb.py +binhex.py +bisect.py +bz2.py +cProfile.py +calendar.py +cgi.py +cgitb.py +chunk.py +cmd.py +code.py +codecs.py +codeop.py +collections/__init__.py +collections/abc.py +colorsys.py +compileall.py +concurrent/__init__.py +concurrent/futures/__init__.py +concurrent/futures/_base.py +concurrent/futures/process.py +concurrent/futures/thread.py +configparser.py +contextlib.py +contextvars.py +copy.py +copyreg.py +crypt.py +csv.py +ctypes/__init__.py +ctypes/_aix.py +ctypes/_endian.py +ctypes/macholib/__init__.py +ctypes/macholib/dyld.py +ctypes/macholib/dylib.py +ctypes/macholib/framework.py +ctypes/util.py +ctypes/wintypes.py +curses/__init__.py +curses/ascii.py +curses/has_key.py +curses/panel.py +curses/textpad.py +dataclasses.py +datetime.py +dbm/__init__.py +dbm/dumb.py +dbm/gnu.py +dbm/ndbm.py +decimal.py +difflib.py +dis.py +distutils/__init__.py +distutils/_msvccompiler.py +distutils/archive_util.py +distutils/bcppcompiler.py +distutils/ccompiler.py +distutils/cmd.py +distutils/command/__init__.py +distutils/command/bdist.py +distutils/command/bdist_dumb.py +distutils/command/bdist_msi.py +distutils/command/bdist_rpm.py +distutils/command/build.py +distutils/command/build_clib.py +distutils/command/build_ext.py +distutils/command/build_py.py +distutils/command/build_scripts.py +distutils/command/check.py +distutils/command/clean.py +distutils/command/config.py +distutils/command/install.py +distutils/command/install_data.py +distutils/command/install_egg_info.py +distutils/command/install_headers.py +distutils/command/install_lib.py +distutils/command/install_scripts.py +distutils/command/register.py +distutils/command/sdist.py +distutils/command/upload.py +distutils/config.py +distutils/core.py +distutils/cygwinccompiler.py +distutils/debug.py +distutils/dep_util.py +distutils/dir_util.py +distutils/dist.py +distutils/errors.py +distutils/extension.py +distutils/fancy_getopt.py +distutils/file_util.py +distutils/filelist.py +distutils/log.py +distutils/msvc9compiler.py +distutils/msvccompiler.py +distutils/spawn.py +distutils/sysconfig.py +distutils/text_file.py +distutils/unixccompiler.py +distutils/util.py +distutils/version.py +distutils/versionpredicate.py +doctest.py +email/__init__.py +email/_encoded_words.py +email/_header_value_parser.py +email/_parseaddr.py +email/_policybase.py +email/base64mime.py +email/charset.py +email/contentmanager.py +email/encoders.py +email/errors.py +email/feedparser.py +email/generator.py +email/header.py +email/headerregistry.py +email/iterators.py +email/message.py +email/mime/__init__.py +email/mime/application.py +email/mime/audio.py +email/mime/base.py +email/mime/image.py +email/mime/message.py +email/mime/multipart.py +email/mime/nonmultipart.py +email/mime/text.py +email/parser.py +email/policy.py +email/quoprimime.py +email/utils.py +encodings/__init__.py +encodings/aliases.py +encodings/ascii.py +encodings/base64_codec.py +encodings/big5.py +encodings/big5hkscs.py +encodings/bz2_codec.py +encodings/charmap.py +encodings/cp037.py +encodings/cp1006.py +encodings/cp1026.py +encodings/cp1125.py +encodings/cp1140.py +encodings/cp1250.py +encodings/cp1251.py +encodings/cp1252.py +encodings/cp1253.py +encodings/cp1254.py +encodings/cp1255.py +encodings/cp1256.py +encodings/cp1257.py +encodings/cp1258.py +encodings/cp273.py +encodings/cp424.py +encodings/cp437.py +encodings/cp500.py +encodings/cp720.py +encodings/cp737.py +encodings/cp775.py +encodings/cp850.py +encodings/cp852.py +encodings/cp855.py +encodings/cp856.py +encodings/cp857.py +encodings/cp858.py +encodings/cp860.py +encodings/cp861.py +encodings/cp862.py +encodings/cp863.py +encodings/cp864.py +encodings/cp865.py +encodings/cp866.py +encodings/cp869.py +encodings/cp874.py +encodings/cp875.py +encodings/cp932.py +encodings/cp949.py +encodings/cp950.py +encodings/euc_jis_2004.py +encodings/euc_jisx0213.py +encodings/euc_jp.py +encodings/euc_kr.py +encodings/gb18030.py +encodings/gb2312.py +encodings/gbk.py +encodings/hex_codec.py +encodings/hp_roman8.py +encodings/hz.py +encodings/idna.py +encodings/iso2022_jp.py +encodings/iso2022_jp_1.py +encodings/iso2022_jp_2.py +encodings/iso2022_jp_2004.py +encodings/iso2022_jp_3.py +encodings/iso2022_jp_ext.py +encodings/iso2022_kr.py +encodings/iso8859_1.py +encodings/iso8859_10.py +encodings/iso8859_11.py +encodings/iso8859_13.py +encodings/iso8859_14.py +encodings/iso8859_15.py +encodings/iso8859_16.py +encodings/iso8859_2.py +encodings/iso8859_3.py +encodings/iso8859_4.py +encodings/iso8859_5.py +encodings/iso8859_6.py +encodings/iso8859_7.py +encodings/iso8859_8.py +encodings/iso8859_9.py +encodings/johab.py +encodings/koi8_r.py +encodings/koi8_t.py +encodings/koi8_u.py +encodings/kz1048.py +encodings/latin_1.py +encodings/mac_arabic.py +encodings/mac_croatian.py +encodings/mac_cyrillic.py +encodings/mac_farsi.py +encodings/mac_greek.py +encodings/mac_iceland.py +encodings/mac_latin2.py +encodings/mac_roman.py +encodings/mac_romanian.py +encodings/mac_turkish.py +encodings/mbcs.py +encodings/oem.py +encodings/palmos.py +encodings/ptcp154.py +encodings/punycode.py +encodings/quopri_codec.py +encodings/raw_unicode_escape.py +encodings/rot_13.py +encodings/shift_jis.py +encodings/shift_jis_2004.py +encodings/shift_jisx0213.py +encodings/tis_620.py +encodings/undefined.py +encodings/unicode_escape.py +encodings/utf_16.py +encodings/utf_16_be.py +encodings/utf_16_le.py +encodings/utf_32.py +encodings/utf_32_be.py +encodings/utf_32_le.py +encodings/utf_7.py +encodings/utf_8.py +encodings/utf_8_sig.py +encodings/uu_codec.py +encodings/zlib_codec.py +ensurepip/__init__.py +ensurepip/__main__.py +ensurepip/_bundled/__init__.py +ensurepip/_uninstall.py +enum.py +filecmp.py +fileinput.py +fnmatch.py +fractions.py +ftplib.py +functools.py +genericpath.py +getopt.py +getpass.py +gettext.py +glob.py +graphlib.py +gzip.py +hashlib.py +heapq.py +hmac.py +html/__init__.py +html/entities.py +html/parser.py +http/__init__.py +http/client.py +http/cookiejar.py +http/cookies.py +http/server.py +idlelib/__init__.py +idlelib/__main__.py +idlelib/autocomplete.py +idlelib/autocomplete_w.py +idlelib/autoexpand.py +idlelib/browser.py +idlelib/calltip.py +idlelib/calltip_w.py +idlelib/codecontext.py +idlelib/colorizer.py +idlelib/config.py +idlelib/config_key.py +idlelib/configdialog.py +idlelib/debugger.py +idlelib/debugger_r.py +idlelib/debugobj.py +idlelib/debugobj_r.py +idlelib/delegator.py +idlelib/dynoption.py +idlelib/editor.py +idlelib/filelist.py +idlelib/format.py +idlelib/grep.py +idlelib/help.py +idlelib/help_about.py +idlelib/history.py +idlelib/hyperparser.py +idlelib/idle.py +idlelib/iomenu.py +idlelib/macosx.py +idlelib/mainmenu.py +idlelib/multicall.py +idlelib/outwin.py +idlelib/parenmatch.py +idlelib/pathbrowser.py +idlelib/percolator.py +idlelib/pyparse.py +idlelib/pyshell.py +idlelib/query.py +idlelib/redirector.py +idlelib/replace.py +idlelib/rpc.py +idlelib/run.py +idlelib/runscript.py +idlelib/scrolledlist.py +idlelib/search.py +idlelib/searchbase.py +idlelib/searchengine.py +idlelib/sidebar.py +idlelib/squeezer.py +idlelib/stackviewer.py +idlelib/statusbar.py +idlelib/textview.py +idlelib/tooltip.py +idlelib/tree.py +idlelib/undo.py +idlelib/window.py +idlelib/zoomheight.py +idlelib/zzdummy.py +imaplib.py +imghdr.py +imp.py +importlib/__init__.py +importlib/_abc.py +importlib/_adapters.py +importlib/_bootstrap.py +importlib/_bootstrap_external.py +importlib/_common.py +importlib/abc.py +importlib/machinery.py +importlib/metadata/__init__.py +importlib/metadata/_adapters.py +importlib/metadata/_collections.py +importlib/metadata/_functools.py +importlib/metadata/_itertools.py +importlib/metadata/_meta.py +importlib/metadata/_text.py +importlib/readers.py +importlib/resources.py +importlib/util.py +inspect.py +io.py +ipaddress.py +json/__init__.py +json/decoder.py +json/encoder.py +json/scanner.py +json/tool.py +keyword.py +lib2to3/Grammar.txt +lib2to3/PatternGrammar.txt +lib2to3/__init__.py +lib2to3/__main__.py +lib2to3/btm_matcher.py +lib2to3/btm_utils.py +lib2to3/fixer_base.py +lib2to3/fixer_util.py +lib2to3/fixes/__init__.py +lib2to3/fixes/fix_apply.py +lib2to3/fixes/fix_asserts.py +lib2to3/fixes/fix_basestring.py +lib2to3/fixes/fix_buffer.py +lib2to3/fixes/fix_dict.py +lib2to3/fixes/fix_except.py +lib2to3/fixes/fix_exec.py +lib2to3/fixes/fix_execfile.py +lib2to3/fixes/fix_exitfunc.py +lib2to3/fixes/fix_filter.py +lib2to3/fixes/fix_funcattrs.py +lib2to3/fixes/fix_future.py +lib2to3/fixes/fix_getcwdu.py +lib2to3/fixes/fix_has_key.py +lib2to3/fixes/fix_idioms.py +lib2to3/fixes/fix_import.py +lib2to3/fixes/fix_imports.py +lib2to3/fixes/fix_imports2.py +lib2to3/fixes/fix_input.py +lib2to3/fixes/fix_intern.py +lib2to3/fixes/fix_isinstance.py +lib2to3/fixes/fix_itertools.py +lib2to3/fixes/fix_itertools_imports.py +lib2to3/fixes/fix_long.py +lib2to3/fixes/fix_map.py +lib2to3/fixes/fix_metaclass.py +lib2to3/fixes/fix_methodattrs.py +lib2to3/fixes/fix_ne.py +lib2to3/fixes/fix_next.py +lib2to3/fixes/fix_nonzero.py +lib2to3/fixes/fix_numliterals.py +lib2to3/fixes/fix_operator.py +lib2to3/fixes/fix_paren.py +lib2to3/fixes/fix_print.py +lib2to3/fixes/fix_raise.py +lib2to3/fixes/fix_raw_input.py +lib2to3/fixes/fix_reduce.py +lib2to3/fixes/fix_reload.py +lib2to3/fixes/fix_renames.py +lib2to3/fixes/fix_repr.py +lib2to3/fixes/fix_set_literal.py +lib2to3/fixes/fix_standarderror.py +lib2to3/fixes/fix_sys_exc.py +lib2to3/fixes/fix_throw.py +lib2to3/fixes/fix_tuple_params.py +lib2to3/fixes/fix_types.py +lib2to3/fixes/fix_unicode.py +lib2to3/fixes/fix_urllib.py +lib2to3/fixes/fix_ws_comma.py +lib2to3/fixes/fix_xrange.py +lib2to3/fixes/fix_xreadlines.py +lib2to3/fixes/fix_zip.py +lib2to3/main.py +lib2to3/patcomp.py +lib2to3/pgen2/__init__.py +lib2to3/pgen2/conv.py +lib2to3/pgen2/driver.py +lib2to3/pgen2/grammar.py +lib2to3/pgen2/literals.py +lib2to3/pgen2/parse.py +lib2to3/pgen2/pgen.py +lib2to3/pgen2/token.py +lib2to3/pgen2/tokenize.py +lib2to3/pygram.py +lib2to3/pytree.py +lib2to3/refactor.py +linecache.py +locale.py +logging/__init__.py +logging/config.py +logging/handlers.py +lzma.py +mailbox.py +mailcap.py +mimetypes.py +modulefinder.py +msilib/__init__.py +msilib/schema.py +msilib/sequence.py +msilib/text.py +multiprocessing/__init__.py +multiprocessing/connection.py +multiprocessing/context.py +multiprocessing/dummy/__init__.py +multiprocessing/dummy/connection.py +multiprocessing/forkserver.py +multiprocessing/heap.py +multiprocessing/managers.py +multiprocessing/pool.py +multiprocessing/popen_fork.py +multiprocessing/popen_forkserver.py +multiprocessing/popen_spawn_posix.py +multiprocessing/popen_spawn_win32.py +multiprocessing/process.py +multiprocessing/queues.py +multiprocessing/reduction.py +multiprocessing/resource_sharer.py +multiprocessing/resource_tracker.py +multiprocessing/shared_memory.py +multiprocessing/sharedctypes.py +multiprocessing/spawn.py +multiprocessing/synchronize.py +multiprocessing/util.py +netrc.py +nntplib.py +ntpath.py +nturl2path.py +numbers.py +opcode.py +operator.py +optparse.py +os.py +pathlib.py +pdb.py +pickle.py +pickletools.py +pipes.py +pkgutil.py +platform.py +plistlib.py +poplib.py +posixpath.py +pprint.py +profile.py +pstats.py +pty.py +py_compile.py +pyclbr.py +pydoc.py +pydoc_data/__init__.py +pydoc_data/topics.py +queue.py +quopri.py +random.py +re.py +reprlib.py +rlcompleter.py +runpy.py +sched.py +secrets.py +selectors.py +shelve.py +shlex.py +shutil.py +signal.py +site.py +smtpd.py +smtplib.py +sndhdr.py +socket.py +socketserver.py +sqlite3/__init__.py +sqlite3/dbapi2.py +sqlite3/dump.py +sre_compile.py +sre_constants.py +sre_parse.py +ssl.py +stat.py +statistics.py +string.py +stringprep.py +struct.py +subprocess.py +sunau.py +symtable.py +sysconfig.py +tabnanny.py +tarfile.py +telnetlib.py +tempfile.py +textwrap.py +this.py +threading.py +timeit.py +tkinter/__init__.py +tkinter/__main__.py +tkinter/colorchooser.py +tkinter/commondialog.py +tkinter/constants.py +tkinter/dialog.py +tkinter/dnd.py +tkinter/filedialog.py +tkinter/font.py +tkinter/messagebox.py +tkinter/scrolledtext.py +tkinter/simpledialog.py +tkinter/tix.py +tkinter/ttk.py +token.py +tokenize.py +trace.py +traceback.py +tracemalloc.py +tty.py +turtle.py +turtledemo/__init__.py +turtledemo/__main__.py +turtledemo/bytedesign.py +turtledemo/chaos.py +turtledemo/clock.py +turtledemo/colormixer.py +turtledemo/forest.py +turtledemo/fractalcurves.py +turtledemo/lindenmayer.py +turtledemo/minimal_hanoi.py +turtledemo/nim.py +turtledemo/paint.py +turtledemo/peace.py +turtledemo/penrose.py +turtledemo/planet_and_moon.py +turtledemo/rosette.py +turtledemo/round_dance.py +turtledemo/sorting_animate.py +turtledemo/tree.py +turtledemo/two_canvases.py +turtledemo/yinyang.py +types.py +typing.py +unittest/__init__.py +unittest/__main__.py +unittest/_log.py +unittest/async_case.py +unittest/case.py +unittest/loader.py +unittest/main.py +unittest/mock.py +unittest/result.py +unittest/runner.py +unittest/signals.py +unittest/suite.py +unittest/util.py +urllib/__init__.py +urllib/error.py +urllib/parse.py +urllib/request.py +urllib/response.py +urllib/robotparser.py +uu.py +uuid.py +venv/__init__.py +venv/__main__.py +warnings.py +wave.py +weakref.py +webbrowser.py +wsgiref/__init__.py +wsgiref/handlers.py +wsgiref/headers.py +wsgiref/simple_server.py +wsgiref/util.py +wsgiref/validate.py +xdrlib.py +xml/__init__.py +xml/dom/NodeFilter.py +xml/dom/__init__.py +xml/dom/domreg.py +xml/dom/expatbuilder.py +xml/dom/minicompat.py +xml/dom/minidom.py +xml/dom/pulldom.py +xml/dom/xmlbuilder.py +xml/etree/ElementInclude.py +xml/etree/ElementPath.py +xml/etree/ElementTree.py +xml/etree/__init__.py +xml/etree/cElementTree.py +xml/parsers/__init__.py +xml/parsers/expat.py +xml/sax/__init__.py +xml/sax/_exceptions.py +xml/sax/expatreader.py +xml/sax/handler.py +xml/sax/saxutils.py +xml/sax/xmlreader.py +xmlrpc/__init__.py +xmlrpc/client.py +xmlrpc/server.py +zipapp.py +zipfile.py +zipimport.py +zoneinfo/__init__.py +zoneinfo/_common.py +zoneinfo/_tzpath.py +zoneinfo/_zoneinfo.py diff --git a/qubes/example/gen.sh b/qubes/example/gen.sh @@ -5,7 +5,7 @@ qvm_prefs maxmem 2000 volume_import root 50M -pkgexclude $libdir/.* +pkgexclude $libdir/.*\.a pkgexclude $includedir/.* pkg ag @@ -22,6 +22,7 @@ pkg netbsd-curses pkg oksh pkg pax pkg perp +pkg python pkg sbase pkg sinit pkg ubase