mozilla/addon-sdk — pull request #271 by warner (2011-11-23 02:05:39+00:00)
Title: 704519 versioning

@myk: this is ready for review. This patch should work on windows and unix, fail gracefully when "git" is not available by that name, and removes the top-level .version from the tree (and the 'version' properties from the stdlib package.json files). It does not touch the docs, nor does it include the $SDKVERSION-replacement code from the earlier branch.

This can land before or after @wbamberg's Bug 696273, but either way we'll also need to include a small change to his patch, which gets the version with:

from .._version import get_versions
version = get_versions()["version"]

instead of reading from .version .