Explorar o código

simplify RTD env check

Antoine Beaupré %!s(int64=9) %!d(string=hai) anos
pai
achega
7ccf6b32a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -16,7 +16,7 @@ if my_python < min_python:
     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.