directory to the directory in which the setup.py script lived (which made __file__ wrong) fixed, with test that the script is run in the current directory of the caller
controlled environment will more closely mirror the typical script environment. This supports setup.py scripts that refer to data files.