Skip to content

Commit

Permalink
Prevent __init__.py from being \deleted (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
almarklein authored Jun 3, 2024
1 parent d718a0a commit 46e6586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
if "sdist" in sys.argv:
target_dir = os.path.abspath(os.path.join(this_dir, "imageio_ffmpeg", "binaries"))
for fname in os.listdir(target_dir):
if fname != "README.md":
if fname not in ["README.md", "__init__.py"]:
os.remove(os.path.join(target_dir, fname))


Expand Down

0 comments on commit 46e6586

Please sign in to comment.