File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -278,13 +278,14 @@ def _generate_sagemaker_sdk_tar(destination_folder):
278278 """
279279 Run setup.py sdist to generate the PySDK tar file
280280 """
281- command = f"python3 setup.py egg_info --egg-base { destination_folder } sdist -d { destination_folder } -k"
281+ command = f"python3 setup.py egg_info --egg-base { destination_folder } sdist -d { destination_folder } -k --verbose "
282282 print (f"Running command: { command } " )
283283 result = subprocess .run (command , shell = True , check = True , capture_output = True )
284284 if result .returncode != 0 :
285285 print (f"Command failed with return code: { result .returncode } " )
286- print (f"Standard output: { result .stdout .decode ()} " )
287- print (f"Standard error: { result .stderr .decode ()} " )
286+
287+ print (f"Standard output: { result .stdout .decode ()} " )
288+ print (f"Standard error: { result .stderr .decode ()} " )
288289 destination_folder_contents = os .listdir (destination_folder )
289290 source_archive = [file for file in destination_folder_contents if file .endswith ("tar.gz" )][0 ]
290291
You can’t perform that action at this time.
0 commit comments