Detect directory as source file argument; Ignore build files generated by 'setup.py'.