File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
components/cores/vapp-python/.project-creation Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2023-2024 Contributors to the Eclipse Foundation
1
+ # Copyright (c) 2023-2025 Contributors to the Eclipse Foundation
2
2
#
3
3
# This program and the accompanying materials are made available under the
4
4
# terms of the Apache License, Version 2.0 which is available at
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdkUri" : " https://github.com/eclipse-velocitas/vehicle-app-python-sdk.git" ,
3
- "sdkVersion" : " v0.15.5 " ,
3
+ "sdkVersion" : " v0.15.7 " ,
4
4
"files" : [
5
5
" .gitattributes" ,
6
6
" .gitignore" ,
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2023-2024 Contributors to the Eclipse Foundation
1
+ # Copyright (c) 2023-2025 Contributors to the Eclipse Foundation
2
2
#
3
3
# This program and the accompanying materials are made available under the
4
4
# terms of the Apache License, Version 2.0 which is available at
@@ -35,7 +35,14 @@ def clean_up_sdk_temp() -> None:
35
35
36
36
def verbose_copy (src , dst ) -> object :
37
37
print (f"Copying { src !r} to { dst !r} " )
38
- return shutil .copy2 (src , dst )
38
+ dst_path = dst if os .path .isfile (dst ) else os .path .join (dst , os .path .basename (src ))
39
+ if os .path .lexists (dst_path ):
40
+ print (f"Destination { dst_path !r} already exists. Overwriting." )
41
+ if os .path .isdir (dst_path ) and not os .path .islink (dst_path ):
42
+ shutil .rmtree (dst_path )
43
+ else :
44
+ os .remove (dst_path )
45
+ return shutil .copy (src , dst )
39
46
40
47
41
48
def read_creation_config () -> dict :
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2023-2024 Contributors to the Eclipse Foundation
1
+ # Copyright (c) 2023-2025 Contributors to the Eclipse Foundation
2
2
#
3
3
# This program and the accompanying materials are made available under the
4
4
# terms of the Apache License, Version 2.0 which is available at
You can’t perform that action at this time.
0 commit comments