From 7ccf6b32a6c8770c497cf77a376f60b4ef6ed8cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 8 Oct 2015 08:23:37 -0400 Subject: [PATCH] simplify RTD env check --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dcf486c1e..b691ac2e6 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ sys.exit(1) # Are we building on ReadTheDocs? -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' +on_rtd = os.environ.get('READTHEDOCS') # msgpack pure python data corruption was fixed in 0.4.6. # Also, we might use some rather recent API features.