2765758171060d13058a1e36233a651e34299fc5,setup.py,,,#,6

Before Change



cmdclass = {}
ext_modules = []
if use_cython:
    ext_modules += [
        Extension("scanpy.cython.utils_cy",
                  ["scanpy/cython/utils_cy.pyx"]),
    ]
    cmdclass.update({ "build_ext": build_ext })
else:
    ext_modules += [
        Extension("scanpy.cython.utils_cy",
                  ["scanpy/cython/utils_cy.c"]),
    ]

more_requires = []
// if sys.version_info[:2] < (3, 5):
more_requires.append("configparser")
// if sys.version_info[:2] < (3, 4):

After Change


from Cython.Distutils import build_ext

with open("requirements.txt") as requirements:
    requires = [l.strip() for l in requirements]

more_requires = []
if sys.version_info[0] == 2:
    more_requires = [
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


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


Project Name: apache/incubator-tvm
Commit Name: e5b793f39fd5b4f84b0aedf06aa376ebe45cf2bc
Time: 2020-08-18
Author: lianminzheng@gmail.com
File Name: tests/python/unittest/test_auto_scheduler_cost_model.py
Class Name:
Method Name: test_random_model


Project Name: pantsbuild/pants
Commit Name: 43ffe73ada2fcbc2571172193c30b906d2de944f
Time: 2019-12-21
Author: blorente@users.noreply.github.com
File Name: src/python/pants/backend/project_info/tasks/export_dep_as_jar.py
Class Name: ExportDepAsJar
Method Name: _process_target