To use the source in development mode, download the source code, and set the environment variable CALIBRE_DEVELOP_FROM to the absolute path of the calibre source code directory.
Described at:
http://manual.calibre-ebook.com/develop.html
It will use the installed old version to start calibre, but run the code of the later, source download.