Clean up handling of PYLZ4_EXPERIMENTAL
@@ -36,9 +36,8 @@ else:
liblz4_found = pkgconfig_installed_check('liblz4', LZ4_REQUIRED_VERSION, default=False)
# Establish if we want to build experimental functionality or not.
-experimental = os.environ.get("PYLZ4_EXPERIMENTAL", False)
-if experimental is not False:
- if experimental.upper() in ("1", "TRUE"):
+experimental_env = os.environ.get("PYLZ4_EXPERIMENTAL", "False")
+if experimental_env.upper() in ("1", "TRUE"):
experimental = True
else:
experimental = False
