diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-02 21:08:01 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-02 21:39:32 -0400 |
commit | b8ad7d2ca1abc59e42e63ecf484036d021a2e19c (patch) | |
tree | 78ab0bbb8d6dbf40e6f45516eba2c7ce8b531532 /setuptools/command/build_py.py | |
parent | 2d38be3259311220d069996b3a906f171dfddafc (diff) | |
download | python-setuptools-git-b8ad7d2ca1abc59e42e63ecf484036d021a2e19c.tar.gz |
Remove data_files avoidance code.
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r-- | setuptools/command/build_py.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py index f71c5a56..c3fdc092 100644 --- a/setuptools/command/build_py.py +++ b/setuptools/command/build_py.py @@ -72,9 +72,6 @@ class build_py(orig.build_py): Generate list of ``(package,src_dir,build_dir,filenames)`` tuples, but without triggering any attempt to analyze or build the manifest. """ - # Avoid triggering dynamic behavior in __getattr__ - if 'data_files' in self.__dict__: - return self.data_files # Prevent eventual errors from unset `manifest_files` # (that would otherwise be set by `analyze_manifest`) self.__dict__.setdefault('manifest_files', {}) |