-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
recipe/patches/0033-remove-top-level-__init__.py-issue-4885.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From ac21be539816ae0bd43cd7fc41ea29f6ec1be826 Mon Sep 17 00:00:00 2001 | ||
Date: Sun, 4 Feb 2024 23:11:15 +0200 | ||
Subject: [PATCH] remove top level __init__.py (issue 4885) | ||
|
||
--- | ||
pypy/tool/release/package.py | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py | ||
index 95159d03c0f..5c626528d42 100755 | ||
--- a/pypy/tool/release/package.py | ||
+++ b/pypy/tool/release/package.py | ||
@@ -358,6 +358,8 @@ def create_package(basedir, options, _fake=False): | ||
'*.lib', '*.exp', '*.manifest', '__pycache__')) | ||
for file in ['README.rst',]: | ||
shutil.copy(str(basedir.join(file)), str(pypydir)) | ||
+ for file in ['__init__.py',]: | ||
+ os.unlink(str(target / file)) | ||
# Use original LICENCE file | ||
base_file = str(basedir.join('LICENSE')) | ||
with open(base_file) as fid: | ||
-- | ||
2.34.1 | ||
|