diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-01-29 13:27:10 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-01-29 21:18:18 -0500 |
| commit | 9de36beceab9ade61b4d300174133c54ac87f60b (patch) | |
| tree | e958f7c2d0b188de4e8941d1e14f65b66af2e23f /tools/vendored.py | |
| parent | 13c8c7d27e3dc730ef2fe81c22a6b7202212739d (diff) | |
| download | python-setuptools-git-9de36beceab9ade61b4d300174133c54ac87f60b.tar.gz | |
Remove workaround to add __init__ for vendored jaraco package, seemingly unnecessary.
Diffstat (limited to 'tools/vendored.py')
| -rw-r--r-- | tools/vendored.py | 3 |
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) |
