Skip to content

Cleaned up git_version.py generation in setup.py

Duncan Macleod requested to merge duncanmmacleod/glue:setup-git-version into master

This merge modifies the way that the glue/git_version.py module is generated during setup.py build, as follows

  • added license header to git_version.py.in
  • use str.format instead of subprocess.call('sed') to insert values
  • copy ver from setup.py as git_version.version (which ends up as glue.__version__)

Merge request reports

Loading