setup.py: fixes.
authorEmily <vcs@emily.moe>
Fri, 20 Sep 2019 14:13:14 +0000 (15:13 +0100)
committerwhitequark <whitequark@whitequark.org>
Fri, 20 Sep 2019 14:13:14 +0000 (14:13 +0000)
setup.py

index e96b65f89a7e276942c074866154453dad93421a..e3e56374e6ed13a75de89ee4428ff7be546645cf 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(
@@ -16,7 +20,7 @@ setup(
     #long_description="""TODO""",
     license="BSD",
     setup_requires=["setuptools_scm"],
-    install_requires=["nmigen"],
+    install_requires=["setuptools", "nmigen"],
     packages=find_packages(),
     project_urls={
         "Source Code": "https://github.com/m-labs/nmigen-boards",