e23f4d0646a3e8d28cc146c28574359585295249,setup.py,,,#,12

Before Change


// add platform dependant optional compilation argument
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


opt_arg=["-O3"]

// add platform dependant optional compilation argument
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__,
      description="Python Optimal Transport Library",
      long_description=README,
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: BYU-PCCL/holodeck
Commit Name: 7dcfeb8c4462f72d7ed1e730a83a6734f7ce6b28
Time: 2019-05-01
Author: maxdrob1@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: step


Project Name: matplotlib/matplotlib
Commit Name: 1c6d5a1b7f53687908b6b4fd452f5e4fb9df2cd8
Time: 2020-04-14
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: TextBox
Method Name: stop_typing