cbecbe8eea332fae79c544e69631761f45a247ed,setup.py,,,#,5

Before Change


    ]
    cmdclass.update({"build_ext": build_ext})
else:
    ext_modules += [
        Extension("scanpy.cython.utils_cy",
                  ["scanpy/cython/utils_cy.c"],
                  include_dirs=[numpy.get_include()]),
]

req_path = Path("requires.txt")
if not req_path.is_file():
    req_path = Path("scanpy.egg-info") / req_path

After Change


cmd_class = {}
ext_modules = []
include_dirs = []
if "egg_info" not in sys.argv:
    import numpy

    include_dirs.append(numpy.get_include())

    try:
        from Cython.Distutils import build_ext
    except ImportError:
        suffix = "c"
    else:
        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():
    req_path = Path("scanpy.egg-info") / req_path
with req_path.open() as requirements:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: bsmurphy/PyKrige
Commit Name: c65ee2ed3a0833a0f6b80e113369b0d98066f446
Time: 2015-09-22
Author: rth@crans.org
File Name: setup.py
Class Name:
Method Name:


Project Name: open-mmlab/mmcv
Commit Name: aea750051f7660cf61dbd2360a25ea0bd13efa3b
Time: 2019-11-21
Author: rinatshigapov@gmail.com
File Name: setup.py
Class Name:
Method Name: