cosmopolitan/third_party/python/Modules
ahgamut 98f330b764 Added build config to get python.com
Modules/Setup and Modules/Setup.local contain the build recipes for
various extensions, wrote a custom script to translate them for
python.mk. Modules/config.c needs to be changed if any extensions are
removed or added.

Most of the source modifications are for missing headers or compile time
build vars like ABIFLAGS.

Created separate mk files for the C extensions and the Python stdlib.
Can use find for adding the python files to the APE ZIP store, but right
now necessary files are just hardcoded.

python.com loads but some build configs are still missing (showing 1 Jan
1970 as time of compilation).
2021-08-09 05:39:42 -07:00
..
_blake2 python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_ctypes python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_decimal Added build config to get python.com 2021-08-09 05:39:42 -07:00
_io python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_multiprocessing python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_sha3 python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_sqlite python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
cjkcodecs python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
clinic python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
expat python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
zlib python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_asynciomodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_bisectmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_bz2module.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_codecsmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_collectionsmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_cryptmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_csv.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_curses_panel.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_cursesmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_datetimemodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
_dbmmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_elementtree.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_functoolsmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_gdbmmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_hashopenssl.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_heapqmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_json.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_localemodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
_lsprof.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
_lzmamodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_math.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_math.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_opcode.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_operator.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_pickle.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_posixsubprocess.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
_randommodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_scproxy.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_sre.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_ssl.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_ssl_data.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_stat.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_struct.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_testbuffer.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_testcapimodule.c Source changes for compilation 2021-08-09 05:39:42 -07:00
_testimportmultiple.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_testmultiphase.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_threadmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_tkinter.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_tracemalloc.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_weakref.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_winapi.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
addrinfo.h Source changes for compilation 2021-08-09 05:39:42 -07:00
ar_beos python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
arraymodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
atexitmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
audioop.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
binascii.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
cmathmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
config.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
config.c.in python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
errnomodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
faulthandler.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
fcntlmodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
fpectlmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
fpetestmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
gc_weakref.txt python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
gcmodule.c Source changes for compilation 2021-08-09 05:39:42 -07:00
getaddrinfo.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
getbuildinfo.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
getnameinfo.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
getpath.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
grpmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
hashlib.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
hashtable.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
hashtable.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
itertoolsmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ld_so_aix.in python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ld_so_beos python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
main.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
makesetup python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
makexp_aix python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
mathmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
md5module.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
mmapmodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
nismodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ossaudiodev.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
overlapped.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
parsermodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
posixmodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
posixmodule.h Source changes for compilation 2021-08-09 05:39:42 -07:00
pwdmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
pyexpat.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
readline.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
README python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
resource.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
rotatingtree.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
rotatingtree.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
selectmodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
Setup Added build config to get python.com 2021-08-09 05:39:42 -07:00
Setup.config.in python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
Setup.dist python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
Setup.local Added build config to get python.com 2021-08-09 05:39:42 -07:00
sha1module.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sha256module.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sha512module.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
signalmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
socketmodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
socketmodule.h Added build config to get python.com 2021-08-09 05:39:42 -07:00
spwdmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sre.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sre_constants.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sre_lib.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
symtablemodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
syslogmodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
termios.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
testcapi_long.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
timemodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
tkappinit.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
tkinter.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
unicodedata.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
unicodedata_db.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
unicodename_db.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
winreparse.h python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
xxlimited.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
xxmodule.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
xxsubtype.c python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
zipimport.c Added build config to get python.com 2021-08-09 05:39:42 -07:00
zlibmodule.c Added build config to get python.com 2021-08-09 05:39:42 -07:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.