Refactor conditional PATH for PySide.
Merge pull request #23 from FGtatsuro/refactor_pyside_path

Refactor conditional PATH for PySide.