ATTENTION: This repository has been moved and is for archival purposes only. GPSTk toolkit has been renamed to GNSSTK and has been split into two new separate repositories. GNSSTK now only contains libraries while the other repository GNSSTK-APPS contains only applications. The rename and split into libraries and applications started with version v12.0.0 on September 2021. GPSTk --> GNSSTK at https://gitlab.com/sgl-ut/gnsstk --> GNSSTK-APPS at https://gitlab.com/sgl-ut/gnsstk-apps
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.
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.