Skip to content

Commit

Permalink
No local version
Browse files Browse the repository at this point in the history
  • Loading branch information
jochym committed Apr 15, 2024
1 parent d97299e commit 491cf89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ def clean_version(version: ScmVersion) -> str:
return version.format_next_version(guess_next_version, "{guessed}.{distance}")


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

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

# ver = get_version().split('+')[0].split('.')

Expand Down

0 comments on commit 491cf89

Please sign in to comment.