[setup.py] Ignore files base on absolute file path

Also fixes a bug for reading ignorefiles where it only read the first line
instead of a whole file.
Merge branch 'master' into netbook