SGL-UT/GPSTk — pull request #2 by ambient92 (2014-09-10 09:43:04+00:00)
Title: gpstk_builder.py file copying fix

This will fix the situation when target directory for python libs is located, for example, on a different partition (splitting */home* and root is common), and **os.rename** throws an error, resulting in no files being copied at all.

It also closes the handle of the generated file beforehand to prevent incomplete copy.