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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1bb3fa861c6d
Choose a base ref
...
head repository: m-labs/nmigen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5198d99b5eb0
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 15, 2019

  1. setup: don't append local version for tags.

    PyPI rejects any archives with local version.
    whitequark committed Oct 15, 2019
    Copy the full SHA
    5198d99 View commit details
Showing with 4 additions and 1 deletion.
  1. +4 −1 setup.py
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,10 @@

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