projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f12272
)
setup: improve repository detection.
author
Emily
<vcs@emily.moe>
Fri, 20 Sep 2019 13:48:08 +0000
(14:48 +0100)
committer
whitequark
<whitequark@whitequark.org>
Fri, 20 Sep 2019 14:01:18 +0000
(14:01 +0000)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 33ea54c96461032fd9cd2ae17d62a4ac2e93e2f5..b3da5d26d21997ba651ef83c7cf1c2faf1674085 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-4,7
+4,11
@@
from setuptools import setup, find_packages
def scm_version():
def local_scheme(version):
return version.format_choice("+{node}", "+{node}.dirty")
- return {"version_scheme": "guess-next-dev", "local_scheme": local_scheme}
+ return {
+ "relative_to": __file__,
+ "version_scheme": "guess-next-dev",
+ "local_scheme": local_scheme
+ }
setup(