-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from HexDecimal/listdeps-recursive
MRG: Show recursive dependencies in listdeps command.
- Loading branch information
Showing
15 changed files
with
392 additions
and
121 deletions.
There are no files selected for viewing
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
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
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
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
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,25 @@ | ||
import os | ||
from pathlib import Path | ||
from typing import Iterator | ||
|
||
import pytest | ||
|
||
from delocate.tools import set_install_name | ||
from delocate.wheeltools import InWheelCtx | ||
from .test_wheelies import PlatWheel, STRAY_LIB_DEP, PLAT_WHEEL | ||
|
||
|
||
@pytest.fixture | ||
def plat_wheel(tmp_path: Path) -> Iterator[PlatWheel]: | ||
""" Return a modified platform wheel for testing. """ | ||
plat_wheel_tmp = str(tmp_path / 'plat-wheel.whl') | ||
stray_lib: str = STRAY_LIB_DEP | ||
|
||
with InWheelCtx(PLAT_WHEEL, plat_wheel_tmp): | ||
set_install_name( | ||
'fakepkg1/subpkg/module2.abi3.so', | ||
'libextfunc.dylib', | ||
stray_lib, | ||
) | ||
|
||
yield PlatWheel(plat_wheel_tmp, os.path.realpath(stray_lib)) |
Binary file modified
BIN
-11 Bytes
(100%)
delocate/tests/data/fakepkg1-1.0-cp36-abi3-macosx_10_9_universal2.whl
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import os | ||
|
||
import pytest | ||
|
||
|
||
|
Oops, something went wrong.