15daec957b184533346c80ea126dc7ece585821a,nucleus/pip_package/setup.py,,main,#,60

Before Change


  args = sys.argv[2:]

  if cmd == "egg_info":
    egg_srcs = glob.glob("google_nucleus-*-py*.egg-info")
    if not egg_srcs:
      print("Could not find source .egg-info directory")
      sys.exit(1)
    egg_src = egg_srcs[0]

After Change


    os.system("cp -R -v google nucleus " + destination
              + " | awk "{print substr($3,2,length($3)-2)}" > " + record_file)
    // Append the .egg-info directory (must include trailing "/") to the record.
    dest_egg_dir = os.path.join(destination, _EGG_DIR_BASENAME) + "/"
    os.system("echo " + dest_egg_dir + " >> " + record_file)
    // End by copying the .egg-info directory to the destination.
    sys.exit(copy_egg_info(dest_egg_dir))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: google/nucleus
Commit Name: 15daec957b184533346c80ea126dc7ece585821a
Time: 2020-08-13
Author: cym@google.com
File Name: nucleus/pip_package/setup.py
Class Name:
Method Name: main


Project Name: r9y9/pysptk
Commit Name: 139563a555e2638ab67f7a83a0a775b2f0f21ce6
Time: 2015-09-29
Author: zryuichi@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: philipperemy/keras-activations
Commit Name: 0bc9d06224686cc32e5cf52f3aae979d3380ca24
Time: 2019-01-03
Author: premy@cogent.co.jp
File Name: examples/mnist.py
Class Name:
Method Name: