Skip to content

Commit

Permalink
Simplify version generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jochym committed Apr 15, 2024
1 parent 5c4e249 commit e02d60e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
def clean_version(version: ScmVersion) -> str:
from setuptools_scm.version import guess_next_version

return version.format_next_version(guess_next_version,
return version.format_next_version(#guess_next_version,
only_version,
"{guessed}.{distance}")


def no_local(version) -> str:
return ""

setup(use_scm_version={"version_scheme": clean_version,
"local_scheme": no_local})
"local_scheme": no_local_version})

0 comments on commit e02d60e

Please sign in to comment.