summaryrefslogtreecommitdiff
path: root/setuptools/command/build_py.py
diff options
context:
space:
mode:
authorMartin v. L?wis <martin@v.loewis.de>2009-09-13 00:30:44 +0200
committerMartin v. L?wis <martin@v.loewis.de>2009-09-13 00:30:44 +0200
commitf2777ccce77b102e5fce583476992c4076e4e9fb (patch)
treec1369071dc8368f4b3d9f68583c7e5f3ded72642 /setuptools/command/build_py.py
parent165eee2c5862413201729991dda426cc3fe0219a (diff)
downloadpython-setuptools-bitbucket-f2777ccce77b102e5fce583476992c4076e4e9fb.tar.gz
Move initialization of updated_files into finalize_options
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r--setuptools/command/build_py.py2
1 files changed, 1 insertions, 1 deletions
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()