@do
def upload_python_packages(scratch_directory, target_bucket, top_level, output, error):
 check_call(['python', 'setup.py', 'sdist', '--dist-dir={}'.format(scratch_directory.path), 'bdist_wheel', '--dist-dir={}'.format(scratch_directory.path)], cwd=top_level.path, stdout=output, stderr=error)
 files = set([f.basename() for f in scratch_directory.children()])
 (yield Effect(UploadToS3Recursively(source_path=scratch_directory, target_bucket=target_bucket, target_key='python', files=files)))

@ do def upload_python_packages ( scratch_directory , target_bucket , top_level , output , error ) : check_call ( [ 'python' , 'setup.py' , 'sdist' , '--dist-dir={}' . format ( scratch_directory . path ) , 'bdist_wheel' , '--dist-dir={}' . format ( scratch_directory . path ) ] , cwd = top_level . path , stdout = output , stderr = error ) files = set ( [ f . basename ( ) for f in scratch_directory . children ( ) ] ) ( yield Effect ( UploadToS3Recursively ( source_path = scratch_directory , target_bucket = target_bucket , target_key = 'python' , files = files ) ) )
the repository contains source distributions and binary distributions for flocker .