From b8ad7d2ca1abc59e42e63ecf484036d021a2e19c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 2 Nov 2021 21:08:01 -0400 Subject: Remove data_files avoidance code. --- setuptools/command/build_py.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'setuptools/command') 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', {}) -- cgit v1.2.1