Logo
Explore Help
Sign In
ada/OpenUxAS-SoI
0
0
Fork 0
You've already forked OpenUxAS-SoI
mirror of https://github.com/AdaCore/OpenUxAS-SoI.git synced 2026-02-12 13:04:49 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
develop
OpenUxAS-SoI/rm-external

16 lines
310 B
Plaintext
Raw Permalink Normal View History

Project for multi-UAV cooperative decision making
2017-05-07 11:03:58 -04:00
#! /usr/bin/env python3
from pathlib import Path
import os
import shutil
move all 3rd-party subprojects to 3rd This cleans up the root directory substantially. The modifications to the `prepare` script also set it up to work better on Windows.
2017-05-10 15:01:19 -07:00
cwd = Path.cwd()
pd = cwd / Path('3rd')
Project for multi-UAV cooperative decision making
2017-05-07 11:03:58 -04:00
for p in pd.glob('*_patch.tar'):
move all 3rd-party subprojects to 3rd This cleans up the root directory substantially. The modifications to the `prepare` script also set it up to work better on Windows.
2017-05-10 15:01:19 -07:00
d = str(p)[0:-10]
if Path(d).is_dir():
shutil.rmtree(d)
pc = pd / 'packagecache'
Project for multi-UAV cooperative decision making
2017-05-07 11:03:58 -04:00
for c in pc.glob('*'):
move all 3rd-party subprojects to 3rd This cleans up the root directory substantially. The modifications to the `prepare` script also set it up to work better on Windows.
2017-05-10 15:01:19 -07:00
os.remove(str(c))
Reference in New Issue Copy Permalink
Powered by Gitea Page: 97ms Template: 9ms
English
English
Licenses API