164b392ce45a1baa7523212c451fa3d20cb06450,setup.py,,main,#,64
Before Change
log("Installing Python dependencies")
reqFilePath = os.path.join(setupHome, "requirements.txt")
if os.path.isfile(reqFilePath):
reqItems = [line.strip() for line in open(reqFilePath)]
for r in reqItems:
log("Installing package: {0}".format(r))
subprocess.call([pipExePath, "install", "-U", "--upgrade", r])
else:
die("Dependency listing file not found: {0}".format(reqFilePath), 7)
except:
die("Dependency installation failed!", 6)
After Change
locateFile(vcURL, vcSetupPath)
c = ["msiexec", "/i", vcSetupPath, "/qb-"]
log("Executing: {0}".format(" ".join(c)))
subprocess.call(c)
log("C++ Compiler for Python installed successfully")
except:
die("VC++ Compiler for Python installation failed!.", 4)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: Esri/raster-functions
Commit Name: 164b392ce45a1baa7523212c451fa3d20cb06450
Time: 2015-05-21
Author: akferoz@esri.com
File Name: setup.py
Class Name:
Method Name: main
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 5b5599f10b809e49f6037b48fc902e57f74d7445
Time: 2020-04-07
Author: sanche@google.com
File Name: kms/api-client/snippets_test.py
Class Name: TestKMSSnippets
Method Name: test_key_policy
Project Name: tensorflow/agents
Commit Name: 971f6abce45c412a860e6ea1b16c2d441ec28f5e
Time: 2018-11-14
Author: oars@google.com
File Name: tf_agents/agents/dqn/examples/train_eval_atari.py
Class Name: AtariQNetwork
Method Name: call
Project Name: home-assistant/home-assistant
Commit Name: af8cd63838d035ad80420f4296cdbc312fe407ca
Time: 2018-05-05
Author: mail+github@tinloaf.de
File Name: homeassistant/components/notify/matrix.py
Class Name: MatrixNotificationService
Method Name: send_message