summaryrefslogtreecommitdiff
path: root/tools/vendored.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vendored.py')
-rw-r--r--tools/vendored.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/vendored.py b/tools/vendored.py
index a921efae..a5f3b9f1 100644
--- a/tools/vendored.py
+++ b/tools/vendored.py
@@ -44,9 +44,6 @@ def rewrite_jaraco(pkg_files, new_root):
"""
Rewrite imports in jaraco.functools to redirect to vendored copies.
"""
- # jaraco is a namespace package, but for data to be discovered,
- # such as in jaraco.txt, it must be a regular package.
- pkg_files.joinpath('__init__.py').write_text('')
for file in pkg_files.glob('*.py'):
text = file.read_text()
text = re.sub(r' (more_itertools)', rf' {new_root}.\1', text)