Add hook to create parser in setup.py

Closes-bug: 1339193
Change-Id: I5fc0f099a31e113d0096ff791f8f1bcf8548373a
Merge "Add hook to create parser in setup.py"