Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/installer/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import posixpath
import warnings
from io import BytesIO
from pathlib import Path
from typing import cast

from installer.destinations import WheelDestination
Expand Down Expand Up @@ -102,7 +101,7 @@ def install(
if path == record_file_path:
continue

if "__pycache__" in Path(path).parts[:-1]:
if "__pycache__" in path.split("/")[:-1]:
warnings.warn(
(
f"Skip installing {path} from {source.distribution}."
Expand Down
Loading