Update distribution.py

Fix flipped enable/disable pydoc