aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-15 16:29:07 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-15 16:29:07 +0000
commit093231544ee98819def970711634942d5984b245 (patch)
tree34131d243d8ce0127f283edb7c3c23f4cbf509be
parentbugfix release script (diff)
downloadSyncRNG-093231544ee98819def970711634942d5984b245.tar.gz
SyncRNG-093231544ee98819def970711634942d5984b245.zip
Remove old code from setup.py
-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: