Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow-ups for version-from-git feature #8

Merged
3 commits merged into from
Oct 1, 2010
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Record VERSION in outfiles.
  • Loading branch information
thmo committed Oct 1, 2010
commit 86a599b102bbcf67f4daf0438ba1b5feef7a29a7
4 changes: 3 additions & 1 deletion master/setup.py
Original file line number Diff line number Diff line change
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