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

Function build_egg

selenium/deploy.py:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls 1

runMethod · 0.80

Tested by

no test coverage detected