MCPcopy Create free account
hub / github.com/cxapython/catvm / build_egg

Function build_egg

selenium/deploy_aws.py:52–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def build_egg():
53 # build egg
54 shutil.rmtree(os.path.join(cur_dir, 'dist'), ignore_errors=True)
55 cmd = 'cd {}; python setup.py bdist_egg'
56 cmd = cmd.format(cur_dir)
57 result = subprocess.run(cmd, shell=True, executable='/bin/bash')
58 if result.returncode != 0:
59 raise Exception('build egg error, return code:{}'.format(result.returncode))
60
61
62def deploy_egg(host, port, project_name, file_suffix):

Callers 1

mainFunction · 0.70

Calls 1

runMethod · 0.80

Tested by

no test coverage detected