cbecbe8eea332fae79c544e69631761f45a247ed,setup.py,,,#,5

Before Change


    raise ImportError("You need to install numpy manually, e.g., by running `pip install numpy`.")

use_cython = False
if use_cython:
    try:
        from Cython.Distutils import build_ext
    except ImportError:
        raise ImportError("You need to install Cython manually if you want to install using Cython, e.g., by running `pip install cython`.")

cmdclass = {}
ext_modules = []
if use_cython:
    ext_modules += [

After Change


        cmd_class["build_ext"] = build_ext
        suffix = "pyx"

    ext_modules.append(Extension(
        "scanpy.cython.utils_cy",
        ["scanpy/cython/utils_cy." + suffix],
        include_dirs=include_dirs,
    ))

req_path = Path("requires.txt")
if not req_path.is_file():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: theislab/scanpy
Commit Name: cbecbe8eea332fae79c544e69631761f45a247ed
Time: 2017-08-30
Author: flying-sheep@web.de
File Name: setup.py
Class Name:
Method Name:


Project Name: hyperspy/hyperspy
Commit Name: d64f11bfcab92724143a21932690c45450d10a06
Time: 2017-09-25
Author: eric.prestat@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: aaf3bfa345a4c94358c2c39420baf0731c5a3912
Time: 2018-07-24
Author: luo.mai.cs@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: erichson/ristretto
Commit Name: 86022cd465092cdaceaeda6a8351dcb7319d2a39
Time: 2018-05-27
Author: markus.quade@gmail.com
File Name: setup.py
Class Name:
Method Name: