aa31c60145c67ba8cf510c183f81f915dcb85e1c,setup.py,,,#,6
Before Change
// For some commands, use setuptools
if len(set(("develop", "sdist", "release", "bdist_egg", "bdist_rpm",
"bdist", "bdist_dumb", "bdist_wininst", "install_egg_info",
"build_sphinx", "egg_info", "easy_install", "upload",
)).intersection(sys.argv)) > 0:
from setuptools import setup
After Change
from setuptools import setup
if __name__ == "__main__":
old_path = os.getcwd()
local_path = os.path.dirname(os.path.abspath(sys.argv[0]))
os.chdir(local_path)
sys.path.insert(0, local_path)
setup(name=DISTNAME,
maintainer=MAINTAINER,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: nilearn/nilearn
Commit Name: aa31c60145c67ba8cf510c183f81f915dcb85e1c
Time: 2014-12-10
Author: loic.esteve@ymail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: studioml/studio
Commit Name: 0bc0f57a4e1de4297ddffbea135f97e57af77b0a
Time: 2017-12-11
Author: peter.zhokhov@sentient.ai
File Name: studio/magics.py
Class Name: StudioMagics
Method Name: studio_run
Project Name: studioml/studio
Commit Name: dffbc3a3b93a0a9d93bec9f852c6b5eea360b44a
Time: 2017-09-11
Author: peter.zhokhov@sentient.ai
File Name: util/completion_service.py
Class Name: CompletionService
Method Name: submitTaskWithFiles