From 90ce913ac15cb3ecdf92e0b4cd45047eb7511e4c Mon Sep 17 00:00:00 2001 From: Richard Kiss Date: Fri, 13 Dec 2019 14:57:51 -0800 Subject: [PATCH 1/2] Fix problem with zip download. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 935b1c493502..255858f76b9a 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ keywords="chia blockchain node", install_requires=dependencies + dev_dependencies, setup_requires=["setuptools_scm"], - use_scm_version=True, + use_scm_version={"fallback_version": "unknown-no-.git-directory"}, long_description=open("README.md").read(), zip_safe=False, ) From 5cdb1b07e3b9b7533cecc24a689044d6b3608c54 Mon Sep 17 00:00:00 2001 From: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com> Date: Fri, 13 Dec 2019 15:40:54 -0800 Subject: [PATCH 2/2] Remove scm warning Revert install instructions due to scm fix --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 209b0f0c1367..d5aee3270b5e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ -**Note** due to the use of `setuptools-scm`, you must clone the repo. -**Downloading the zip file provided by github will not work** as the `.git` metadata used to calculate the -version number is not present in the zip file. - # chia-blockchain Python 3.7 is used for this project. Make sure your default python version is >=3.7 by typing python3.