forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d6c30cd Use the `tar` that comes with cmake 6b26668 Use xz format 3cc15d0 Fix new release notes f269fdb Rename wheel_sdk => create_wheel_sdk_archive.py 06fcd41 Set VTK_INSTALL_SDK for wheel builds 97c97d4 Update wheel SDK tarball name f0da391 Add release notes for wheel sdks 5e4eb95 Use python script to make sdk tarball ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9144
- Loading branch information
Showing
10 changed files
with
115 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from pathlib import Path | ||
import subprocess | ||
|
||
dist_path = Path('dist') | ||
install_path = Path('install') | ||
|
||
wheel_file = next(dist_path.glob('*.whl')) | ||
sdk_name = wheel_file.stem.replace('vtk-', 'vtk-wheel-sdk-') | ||
tarball_name = f'{sdk_name}.tar.xz' | ||
|
||
install_path.rename(sdk_name) | ||
try: | ||
cmd = ['cmake', '-E', 'tar', 'cJf', tarball_name, sdk_name] | ||
subprocess.check_call(cmd) | ||
finally: | ||
Path(sdk_name).rename(install_path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## Python Wheel SDKs | ||
|
||
SDKs (install trees) for each wheel are now uploaded as artifacts, and | ||
weekly SDKs for each wheel are uploaded to vtk.org. |