aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-15 13:55:53 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-15 13:55:53 +0000
commit35c932bfb60350538757c4b212fb4554d4ce5cc4 (patch)
treef00fbeb8ed05360caa042bd6b2ca25de50ce1dfd
parenttemporarily remove tag restriction for workflow (diff)
downloadSyncRNG-35c932bfb60350538757c4b212fb4554d4ce5cc4.tar.gz
SyncRNG-35c932bfb60350538757c4b212fb4554d4ce5cc4.zip
check if readme can be found on CI
-rw-r--r--python/setup.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/python/setup.py b/python/setup.py
index 328e3f4..3f73c38 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -50,11 +50,17 @@ here = os.path.abspath(os.path.dirname(__file__))
# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
-try:
- with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
- long_description = "\n" + f.read()
-except FileNotFoundError:
- long_description = DESCRIPTION
+
+# see if it hard fails on CI
+with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
+ long_description = "\n" + f.read()
+
+# DEBUG OLD
+# try:
+# with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
+# long_description = "\n" + f.read()
+# except FileNotFoundError:
+# long_description = DESCRIPTION
# Load the package's __version__.py module as a dictionary.
about = {}