diff options
| -rw-r--r-- | changelog.d/3503.misc.rst | 8 | ||||
| -rw-r--r-- | setuptools/command/build_py.py | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/changelog.d/3503.misc.rst b/changelog.d/3503.misc.rst index 27924004..7cfb9883 100644 --- a/changelog.d/3503.misc.rst +++ b/changelog.d/3503.misc.rst @@ -1,6 +1,6 @@ Added filter to ignore external ``.egg-info`` files in manifest. -Some plugins (e.g. ``pbr``) might rely on the fact that the ``.egg-info`` -directory is produced inside the project dir, which may not be the case -in editable installs (the ``.egg-info`` directory is produced inside the -metadata directory given by the build frontend via PEP 660 hooks). +Some plugins might rely on the fact that the ``.egg-info`` directory is +produced inside the project dir, which may not be the case in editable installs +(the ``.egg-info`` directory is produced inside the metadata directory given by +the build frontend via PEP 660 hooks). diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py index 796d7bdd..8b1a3320 100644 --- a/setuptools/command/build_py.py +++ b/setuptools/command/build_py.py @@ -52,7 +52,6 @@ class build_py(orig.build_py): def run(self): """Build modules, packages, and copy data files to build directory""" - # if self.editable_mode or not (self.py_modules and self.packages): if not (self.py_modules or self.packages) or self.editable_mode: return |
