commit: 478ea3bf7d23b593e12a11da23559f7429628a40
parent 6cb93e10fdf3cf374db671f5d0a752fd985b434d
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 30 Aug 2017 20:15:09 -0700
python: Use Setup based on setup.py
Setup.dist is incomplete and is missing things like _multiprocessing.
Instead, build up Setup by scanning through setup.py for "Extension".
This adds the following modules:
* _json
* _multiprocessing
* _opcode
Diffstat:
| M | pkg/python/Setup | 78 | ++++++++++++++++++++++++++++++++++++++++++++++++------------------------------ |
1 file changed, 48 insertions(+), 30 deletions(-)
diff --git a/pkg/python/Setup b/pkg/python/Setup
@@ -23,59 +23,77 @@ zipimport zipimport.c
faulthandler faulthandler.c
_tracemalloc _tracemalloc.c hashtable.c
#_symtable symtablemodule.c
-#readline readline.c
+#xxsubtype xxsubtype.c
+
+# setup.py:/Extension
array arraymodule.c
cmath cmathmodule.c _math.c
math mathmodule.c _math.c
-_struct _struct.c
-#_testcapi _testcapimodule.c
-_random _randommodule.c
-#_elementtree _elementtree.c
-_pickle _pickle.c
+# time defined above
_datetime _datetimemodule.c
+_random _randommodule.c
_bisect _bisectmodule.c
_heapq _heapqmodule.c
-_asyncio _asynciomodule.c
+_pickle _pickle.c
+# atexit defined above
+_json _json.c
+#_testcapi _testcapimodule.c
+#_testbuffer _testbuffer.c
+#_testimportmultiple _testimportmultiple.c
+#_testmultiphase _testmultiphase.c
+#_lsprof _lsprof.c rotatingtree.c
unicodedata unicodedata.c
+_opcode _opcode.c
+_asyncio _asynciomodule.c
fcntl fcntlmodule.c
-spwd spwdmodule.c
+# pwd defined above
grp grpmodule.c
+spwd spwdmodule.c
select selectmodule.c
+parser parsermodule.c
mmap mmapmodule.c
+#syslog syslogmodule.c
+#audioop audioop.c
+#readline readline.c
+_crypt _cryptmodule.c
_csv _csv.c
+_posixsubprocess _posixsubprocess.c
_socket socketmodule.c
_ssl _ssl.c
-_crypt _cryptmodule.c
-#nis nismodule.c
-termios termios.c
-resource resource.c
-_posixsubprocess _posixsubprocess.c
-#audioop audioop.c
-_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
-#_md5 md5module.c
-#_sha1 sha1module.c
+_hashlib _hashopenssl.c
#_sha256 sha256module.c
#_sha512 sha512module.c
+#_md5 md5module.c
+#_sha1 sha1module.c
+_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
_sha3 _sha3/sha3module.c
-#_tkinter _tkinter.c tkappinit.c
-#syslog syslogmodule.c
-#_curses _cursesmodule.c
-#_curses_panel _curses_panel.c
+#_sqlite3 _sqlite/cache.c _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c
#_dbm _dbmmodule.c
#_gdbm _gdbmmodule.c
-binascii binascii.c
-parser parsermodule.c
-#fpectl fpectlmodule.c
-#fpetest fpetestmodule.c
+termios termios.c
+resource resource.c
+#nis nismodule.c
+#_curses _cursesmodule.c
+#_curses_panel _curses_panel.c
zlib zlibmodule.c
+binascii binascii.c
+#_bz2 _bz2module.c
+#_lzma _lzmamodule.c
pyexpat pyexpat.c
+#_elementtree _elementtree.c
#_multibytecodec cjkcodecs/multibytecodec.c
+#_codecs_kr cjkcodecs/_codecs_kr.c
+#_codecs_jp cjkcodecs/_codecs_jp.c
#_codecs_cn cjkcodecs/_codecs_cn.c
+#_codecs_tw cjkcodecs/_codecs_tw.c
#_codecs_hk cjkcodecs/_codecs_hk.c
#_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
-#_codecs_jp cjkcodecs/_codecs_jp.c
-#_codecs_kr cjkcodecs/_codecs_kr.c
-#_codecs_tw cjkcodecs/_codecs_tw.c
-
-_hashlib _hashopenssl.c
+_multiprocessing _multiprocessing/multiprocessing.c _multiprocessing/semaphore.c
+#ossaudiodev ossaudiodev.c
+#_scproxy _scproxy.c
+#xxlimited xxlimited.c
+#_tkinter _tkinter.c tkappinit.c
#_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c
+#_ctypes_test _ctypes/_ctypes_test.c
+#_decimal
+_struct _struct.c