Author: Ronan Lamy <[email protected]>
Branch: apptest-file
Changeset: r97039:d8e5b6784927
Date: 2019-07-31 17:32 +0100
http://bitbucket.org/pypy/pypy/changeset/d8e5b6784927/

Log:    remove one-shot helper script

diff --git a/rename_moduledef.py b/rename_moduledef.py
deleted file mode 100644
--- a/rename_moduledef.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import py
-import subprocess
-
-here = py.path.local('.')
-moddir = here / 'pypy' / 'module'
-blacklist = ['test_lib_pypy']
-modules = [path for path in moddir.listdir() if
-    path.isdir() and (path / '__init__.py').isfile() and
-        path.basename not in blacklist]
-
-
-def doit(p):
-   if not (p / '__init__.py').isfile():
-       return
-   init = (p / '__init__.py').relto(here)
-   target = (p / 'moduledef.py').relto(here)
-   subprocess.call(['hg', 'mv', init, target])
-   subprocess.call(['touch', init])
-   subprocess.call(['hg', 'add', init])
-
-for p in modules:
-    doit(p)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to