From b712de5a1170ddb843b1f8a5bff111286dc0fc36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 13 Sep 2009 00:30:44 +0200 Subject: Move initialization of updated_files into finalize_options --HG-- branch : distribute extra : rebase_source : 9961dacb889d0707d3d0fa67168f71eb6b577373 --- setuptools/command/build_py.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py index b27574a4..a80572fd 100644 --- a/setuptools/command/build_py.py +++ b/setuptools/command/build_py.py @@ -51,13 +51,13 @@ class build_py(_build_py, Mixin2to3): self.package_data = self.distribution.package_data self.exclude_package_data = self.distribution.exclude_package_data or {} if 'data_files' in self.__dict__: del self.__dict__['data_files'] + self.__updated_files = [] def run(self): """Build modules, packages, and copy data files to build directory""" if not self.py_modules and not self.packages: return - self.__updated_files = [] if self.py_modules: self.build_modules() -- cgit v1.2.3