BLD: fixup setup.py, initialize pipe variable to None
Merge pull request #5868 from y-p/PR_setup_pipe

BLD: fixup setup.py, initialize pipe variable to None