7bf44d7608c6d91f45695d1bb1d910a440aa449c,luminoth/tools/cloud/gcloud.py,,build_package,#Any#Any#,74
Before Change
output_dir = os.path.join(temp_dir, "output")
devnull = open(os.devnull, "w")
subprocess.call(
[
"python", "setup.py", "egg_info", "--egg-base", temp_dir,
"build", "--build-base", temp_dir, "--build-temp", temp_dir,
"sdist", "--dist-dir", output_dir
],
cwd=package_path, stdout=devnull, stderr=devnull
)
subprocess.call(
[
"python", "setup.py", "build", "--build-base", temp_dir,
"--build-temp", temp_dir, "sdist", "--dist-dir", output_dir
After Change
// of Luminoth.
//
package_dir = temp_dir
setup_file = os.path.join(package_dir, "setup.py")
with open(setup_file, "w") as f:
f.write(GCP_TRAINER_PACKAGE_SETUP)
click.echo("Generating "{}" for installing luminoth=={}.".format(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tryolabs/luminoth
Commit Name: 7bf44d7608c6d91f45695d1bb1d910a440aa449c
Time: 2018-11-06
Author: dekked@gmail.com
File Name: luminoth/tools/cloud/gcloud.py
Class Name:
Method Name: build_package
Project Name: microsoft/nni
Commit Name: 5557a2e4143f7ec707daf9ae094db84eb91b9d1b
Time: 2019-10-22
Author: v-yugzh@microsoft.com
File Name: tools/nni_cmd/command_utils.py
Class Name:
Method Name: install_requirements_command
Project Name: AlexEMG/DeepLabCut
Commit Name: cb560e17278530c14b74b06fa3f3c718e25c9616
Time: 2019-09-20
Author: amathis@fas.harvard.edu
File Name: examples/testscript.py
Class Name:
Method Name: