cd28d70a9a960053d1d4f6d3e8fcf982ff12221b,setup.py,,requirements,#,9

Before Change


    with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f:
        requirements_text = f.read()
        if sys.version_info[0] >= 3:
            requirements_text = requirements_text.replace("JPype1", "JPype1-py3")

        return requirements_text.splitlines()

setup(name="konlpy",
    version=__version__,
    description="Python package for Korean natural language processing.",

After Change


    else:
        reqfile = "requirements-py3.txt"
    with open(os.path.join(os.path.dirname(__file__), reqfile)) as f:
        return f.read().splitlines()

setup(name="konlpy",
    version=__version__,
    description="Python package for Korean natural language processing.",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: konlpy/konlpy
Commit Name: cd28d70a9a960053d1d4f6d3e8fcf982ff12221b
Time: 2015-01-10
Author: me@lucypark.kr
File Name: setup.py
Class Name:
Method Name: requirements


Project Name: jazzband/django-debug-toolbar
Commit Name: 48ff898685826a5c37e1914d05ad59408b267528
Time: 2016-11-07
Author: mejiaa@amazon.com
File Name: debug_toolbar/panels/sql/forms.py
Class Name: SQLSelectForm
Method Name: make_hash


Project Name: tensorflow/datasets
Commit Name: cbc40d981e832c631fd30c30f1a186adb3923c89
Time: 2020-10-13
Author: suryashankardas.2002@gmail.com
File Name: tensorflow_datasets/core/download/checksums.py
Class Name:
Method Name: url_infos_from_path


Project Name: eth-cscs/reframe
Commit Name: c323ba31063d782f2beaa4fb66a4943c19018936
Time: 2019-11-20
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: get_all_nodes


Project Name: tensorflow/datasets
Commit Name: 373aa6539bc8a4a74fe83be32d3b87a4aa809d15
Time: 2020-10-20
Author: epot@google.com
File Name: tensorflow_datasets/core/download/checksums.py
Class Name:
Method Name: load_url_infos