Skip to content

Commit

Permalink
stubgen: Remove path fixup workaround (#57)
Browse files Browse the repository at this point in the history
This was fixed in v2.5.0, so we can remove the path fixup section.
  • Loading branch information
nicholasjng authored Feb 2, 2025
1 parent cb6512d commit bb47da9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions stubgen_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,6 @@ def wrapper():

main(args)

if "-O" in args:
from_path = os.path.join(
*modname.split(".")[1:-1], ".".join(modname.split(".")[:-1]) + ".pyi"
)
to_path = os.path.join(*modname.split(".")[1:]) + ".pyi"
shutil.move(bindir / from_path, bindir / to_path)


if __name__ == "__main__":
wrapper()

0 comments on commit bb47da9

Please sign in to comment.