From 293f5a93b77d92fd65db7f3d0df654f102e46cfb Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 11 Dec 2016 16:04:20 -0800 Subject: Move to flat package hierarchy Note to self: never try to move submodules again To migrate your existing submodules (more or less): set -x set -e mkdir .git/modules/pkg for old in */*/src ; do new="pkg/${old#*/}" if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then continue fi git -C ".git/modules/$old" config core.worktree "../../../../../$new" rmdir "$new" mv "$old" "$new" sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp" mv "$new/.git.tmp" "$new/.git" mkdir ".git/modules/${new%/src}" mv ".git/modules/$old" ".git/modules/$new" rm "${old%/src}"/*.ninja mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/" rmdir "${old%/src}" || true done sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp mv .git/config.tmp .git/config --- pkg/python/Setup | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 pkg/python/Setup (limited to 'pkg/python/Setup') diff --git a/pkg/python/Setup b/pkg/python/Setup new file mode 100644 index 00000000..3aac233d --- /dev/null +++ b/pkg/python/Setup @@ -0,0 +1,78 @@ +*static* +# from Setup.local +_thread _threadmodule.c +_signal signalmodule.c + +# from Setup.dist +posix posixmodule.c +errno errnomodule.c +pwd pwdmodule.c +_sre _sre.c +_codecs _codecsmodule.c +_weakref _weakref.c +_functools _functoolsmodule.c +_operator _operator.c +_collections _collectionsmodule.c +itertools itertoolsmodule.c +atexit atexitmodule.c +_stat _stat.c +time timemodule.c +_locale _localemodule.c +_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c +zipimport zipimport.c +faulthandler faulthandler.c +_tracemalloc _tracemalloc.c hashtable.c +#_symtable symtablemodule.c +#readline readline.c +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 +_datetime _datetimemodule.c +_bisect _bisectmodule.c +_heapq _heapqmodule.c +unicodedata unicodedata.c +fcntl fcntlmodule.c +spwd spwdmodule.c +grp grpmodule.c +select selectmodule.c +mmap mmapmodule.c +_csv _csv.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 +#_md5 md5module.c +#_sha1 sha1module.c +#_sha256 sha256module.c +#_sha512 sha512module.c +#_tkinter _tkinter.c tkappinit.c +#syslog syslogmodule.c +#_curses _cursesmodule.c +#_curses_panel _curses_panel.c +#_dbm _dbmmodule.c +#_gdbm _gdbmmodule.c +binascii binascii.c +parser parsermodule.c +#fpectl fpectlmodule.c +#fpetest fpetestmodule.c +zlib zlibmodule.c +pyexpat pyexpat.c +#_multibytecodec cjkcodecs/multibytecodec.c +#_codecs_cn cjkcodecs/_codecs_cn.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 +#_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c -- cgit v1.2.3