Use Distribution's 'has_scripts()' method instead of directly accessing

its 'scripts' attribute.
This commit is contained in:
Greg Ward 2000-05-25 01:21:54 +00:00
parent a4efe65b43
commit e3d17526b2
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class build (Command):
if self.distribution.has_ext_modules():
self.run_peer ('build_ext')
if self.distribution.scripts:
if self.distribution.has_scripts():
self.run_peer ('build_scripts')
# class build