Add the upload command. Make all dist commands register their

outputs with the distribution object.
This commit is contained in:
Martin v. Löwis 2005-03-21 20:56:35 +00:00
parent e6c430dffe
commit 55f1bb8bfa
8 changed files with 56 additions and 2 deletions

View file

@ -162,6 +162,8 @@ class bdist_wininst (Command):
root_dir=self.bdist_dir)
# create an exe containing the zip-file
self.create_exe(arcname, fullname, self.bitmap)
self.distribution.dist_files.append(('bdist_wininst',
self.get_installer_filename()))
# remove the zip-file again
log.debug("removing temporary file '%s'", arcname)
os.remove(arcname)