Commit b9143e83 authored by Gregory P. Smith's avatar Gregory P. Smith

Ditch the explicit search for *.py[co] files -- they're now included in

the list returned by 'get_outputs()', thanks to changes in the
"install_lib" command.
parent 6406c80d
......@@ -440,11 +440,6 @@ class install (Command):
# write list of installed files, if requested.
if self.record:
outputs = self.get_outputs()
for counter in xrange (len (outputs)): # include ".pyc" and ".pyo"
if outputs[counter][-3:] == ".py":
byte_code = glob(outputs[counter] + '[co]')
outputs.extend(byte_code)
outputs.sort() # just makes it look nicer
if self.root: # strip any package prefix
root_len = len(self.root)
for counter in xrange (len (outputs)):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment