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])
After Change
if not os.path.isfile(reqFilePath):
die("Dependency listing file not found: {0}".format(reqFilePath), 5)
c = [pipExePath, "install", "--find-links={0}".format(distHome), "-r", reqFilePath]
log("Executing: {0}".format(" ".join(c)) )
subprocess.call(c)
except:
die("Dependency installation failed!", 6)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
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: mozilla/TTS
Commit Name: 278c7a91b77448236af73d6942da425a5d5a2e34
Time: 2019-04-28
Author: egolge@mozilla.com
File Name: datasets/preprocess.py
Class Name:
Method Name: mozilla
Project Name: biolab/orange3
Commit Name: 356d7f530c0502678de0771397fd1232fce06a50
Time: 2016-09-16
Author: kerncece@gmail.com
File Name: Orange/canvas/application/outputview.py
Class Name: ExceptHook
Method Name: __call__
Project Name: Hironsan/anago
Commit Name: c12740b64e69e8383144d0f36a138bf033a9b074
Time: 2017-08-01
Author: light.tree.1.13@gmail.com
File Name: anago/data_utils.py
Class Name:
Method Name: load_vocab