Skip to content

gpstk_builder.py file copying fix

Bryan Parsons requested to merge github/fork/rumkex/python-builder-copy-fix into master

Created by: rumkex

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.

Merge request reports