b5f96687491ef2e14cc76a398d976d0c7553124a,setup.py,,,#,13

Before Change


from setuptools.command.test import test as TestCommand


if "PYTHONPATH" in os.environ.keys():
    here = os.environ["PYTHONPATH"].split(os.pathsep)[-1]
else:
    here = os.path.abspath(os.path.dirname(__file__))

After Change


from setuptools.command.test import test as TestCommand


try:
    here = os.environ["PYTHONPATH"].split(os.pathsep)[-1]
except KeyError:
    here = os.path.abspath(os.path.dirname(__file__))


// Get the long description from the README file
try:
    with open(os.path.join(here, "docs", "source", "index.rst"),
              encoding="utf-8") as f:
        long_description = f.read()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: b5f96687491ef2e14cc76a398d976d0c7553124a
Time: 2016-05-26
Author: bodo.rueckauer@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: wandb/client
Commit Name: e3eddd47c5efe5cb9257e2727d473a48f316d408
Time: 2020-08-24
Author: jeff@wandb.com
File Name: wandb/internal/meta.py
Class Name: Meta
Method Name: __init__


Project Name: Rostlab/nalaf
Commit Name: a809d1456c355da2d8effaef7f5b2f5ee247f57c
Time: 2015-12-08
Author: aleksandar.bojchevski@gmail.com
File Name: nalaf/features/window.py
Class Name: WindowFeatureGenerator
Method Name: generate