Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • bilby bilby
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lscsoft
  • bilbybilby
  • Merge requests
  • !1125

Switch to using setuptools_scm for versioning

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michael Williams requested to merge michael.williams/bilby:use-setuptools-scm-version into master Jul 08, 2022
  • Overview 1
  • Commits 2
  • Pipelines 2
  • Changes 7

This MR is a possible alternative to !1118 (closed) and uses setuptools_scm instead of versioneer.

The most notable change is the inclusion of pyproject.toml which, as of PEP 518, is the recommended way to manage build dependencies and is also used to configure setuptools_scm.

One thing to note with this approach is that when using an editable install (pip install -e .) the version is only updated when the module is installed rather than every time it is imported. I'm not sure how this compares to versioneer.

  • Closes #577 (closed)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: use-setuptools-scm-version