diff options
| author | Michael Forney <mforney@mforney.org> | 2016-12-11 16:04:20 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-12-13 23:10:30 -0800 |
| commit | 293f5a93b77d92fd65db7f3d0df654f102e46cfb (patch) | |
| tree | 6ecd1170e3dd793862dd852814dc1b4cd5e44260 /pkg/python/Setup | |
| parent | 9a506a6834df01a26795cea222b410f206efa9fa (diff) | |
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
Diffstat (limited to 'pkg/python/Setup')
| -rw-r--r-- | pkg/python/Setup | 78 |
1 files changed, 78 insertions, 0 deletions
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 |
