e23f4d0646a3e8d28cc146c28574359585295249,setup.py,,,#,12

Before Change


opt_arg=["-O3"]
import platform
if platform.system()=="Darwin":
  if platform.release()=="18.0.0":
      opt_arg.append("-stdlib=libc++") // correspond to a compilation problem with Mojave and XCode 10

setup(name="POT",
      version=__version__,
      description="Python Optimal Transport Library",
      long_description=README,

After Change


if sys.platform.startswith("darwin"):
  opt_arg.append("-stdlib=libc++")
  sdk_path = subprocess.check_output(["xcrun", "--show-sdk-path"])
  os.environ["CFLAGS"] = "-isysroot "{}"".format(sdk_path.rstrip().decode("utf-8"))

setup(name="POT",
      version=__version__,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rflamary/POT
Commit Name: e23f4d0646a3e8d28cc146c28574359585295249
Time: 2020-02-28
Author: ncourty@irisa.fr
File Name: setup.py
Class Name:
Method Name:


Project Name: ufoym/deepo
Commit Name: 87664d0302bcf7b666f7b669dbdb8eefb031de0b
Time: 2019-10-17
Author: a@ufoym.com
File Name: generator/modules/caffe.py
Class Name: Caffe
Method Name: build


Project Name: japerk/nltk-trainer
Commit Name: 7f89189a0fbdeaa9b70ec6961672333448beae1c
Time: 2014-07-13
Author: lababidi@gmail.com
File Name: train_classifier.py
Class Name:
Method Name: