If anyone is still looking at this, the accepted answer still works for PyCharm 2016.3 when I tried it. The UI might have changed, but the options are still the same. 

ie. Right click on your root folder --> 'Mark Directory As' --> Source Root