aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/setup.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/python/setup.py b/python/setup.py
index 3f73c38..2264bc1 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -51,17 +51,11 @@ 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!
-# see if it hard fails on CI
+# We don't use try-except here because we want builds to fail if they can't
+# find the README.
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 = {}
if not VERSION: