diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-04-13 09:44:03 +0100 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-15 16:43:47 +0100 |
| commit | a31df2ee1147038d4af63b3b93679de882ada4eb (patch) | |
| tree | f1cfde9bf748e05249fafe6cfdde2d4aadaceda6 /setuptools/command | |
| parent | 7b402eb104681ca0cfbe36ac8e10bafa2030a9d8 (diff) | |
| download | python-setuptools-git-a31df2ee1147038d4af63b3b93679de882ada4eb.tar.gz | |
Remove unused function
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/editable_wheel.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/setuptools/command/editable_wheel.py b/setuptools/command/editable_wheel.py index e03eb671..573c4b87 100644 --- a/setuptools/command/editable_wheel.py +++ b/setuptools/command/editable_wheel.py @@ -100,23 +100,6 @@ class editable_wheel(Command): return wheel_path - def _best_strategy(self): - if self.strict: - return self._link_tree - - dist = self.distribution - if set(dist.packages) == {""}: - # src-layout(ish) package detected. These kind of packages are relatively - # safe so we can simply add the src directory to the pth file. - return self._top_level_pth - - if self._can_symlink(): - return self._top_level_symlinks - - # >>> def _targets(self): - # >>> build_py.find_modules() - # >>> self.dist.packages - def _populate_wheel(self, dist_id, unpacked_wheel_dir): pth = Path(unpacked_wheel_dir, f"__editable__.{dist_id}.pth") pth.write_text(f"{self.target}\n", encoding="utf-8") |
