7327a1560b2e7f68ddbaa28781bd5cc84aaeaa4a,setup.py,,,#,5
Before Change
import os
repo_dir = os.path.dirname(os.path.abspath(__file__))
setup(name="baselines",
packages=[package for package in find_packages()
After Change
import sys
if sys.version_info.major != 3:
print("This Python is only compatible with Python 3, but you are running "
"Python {}. The installation will likely fail.".format(sys.version_info.major))
setup(name="baselines",
packages=[package for package in find_packages()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: openai/baselines
Commit Name: 7327a1560b2e7f68ddbaa28781bd5cc84aaeaa4a
Time: 2017-05-25
Author: szymon@openai.com
File Name: setup.py
Class Name:
Method Name:
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 3c8509c5711bf3e3edef1cd0bfd3a767ab426ab0
Time: 2018-04-22
Author: yutiansut@qq.com
File Name: QUANTAXIS/QACmd/__init__.py
Class Name: CLI
Method Name: do_examples
Project Name: wkentaro/labelme
Commit Name: dc2dce6f8bc45cc0ccb28f97f553f3efe4293325
Time: 2017-08-18
Author: www.kentaro.wada@gmail.com
File Name: setup.py
Class Name: LabelmeBuildPyCommand
Method Name: run