Skip to content

Commit

Permalink
Record VERSION in outfiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
thmo committed Oct 1, 2010
1 parent 344ab82 commit 86a599b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion master/setup.py
Expand Up @@ -146,7 +146,9 @@ def finalize_options(self):
def run(self):
install_data.run(self)
# ensure there's a buildbot/VERSION file
open(os.path.join(self.install_dir, 'buildbot', 'VERSION'), 'w').write(version)
fn = os.path.join(self.install_dir, 'buildbot', 'VERSION')
open(fn, 'w').write(version)
self.outfiles.append(fn)

class our_sdist(sdist):

Expand Down

0 comments on commit 86a599b

Please sign in to comment.