Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen-stdio
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 93ff96e424b1
Choose a base ref
...
head repository: m-labs/nmigen-stdio
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8b7a03791f08
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 16, 2019

  1. setup: update scm_version().

    whitequark committed Oct 16, 2019
    Copy the full SHA
    8b7a037 View commit details
Showing with 9 additions and 2 deletions.
  1. +9 −2 setup.py
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -3,8 +3,15 @@

def scm_version():
def local_scheme(version):
return version.format_choice("+{node}", "+{node}.dirty")
return {"version_scheme": "guess-next-dev", "local_scheme": local_scheme}
if version.tag and not version.distance:
return version.format_with("")
else:
return version.format_choice("+{node}", "+{node}.dirty")
return {
"relative_to": __file__,
"version_scheme": "guess-next-dev",
"local_scheme": local_scheme
}


setup(