ceb536d620d332d4e8f13a2b668b78eb54b8b79f,setup.py,,,#,210
Before Change
init_submodules()
// packages are found if their folder contains an __init__.py,
metadata["packages"] = find_packages()
setup(**metadata)
After Change
// init submodules
import subprocess
modules = ["pybind11", ]
cmd = "git submodule update --init {mod}"
for m in modules:
subprocess.check_call(cmd.format(mod=m).split(" "))
// only require numpy and extensions in case of building/installing
metadata["ext_modules"] = lazy_cythonize(callback=extensions)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: markovmodel/PyEMMA
Commit Name: ceb536d620d332d4e8f13a2b668b78eb54b8b79f
Time: 2017-08-26
Author: m.scherer@fu-berlin.de
File Name: setup.py
Class Name:
Method Name:
Project Name: vatlab/SoS
Commit Name: 0c5b193eb6f28b70ed76a3a9e1929cbf891156a6
Time: 2017-07-07
Author: ben.bog@gmail.com
File Name: src/sos/__main__.py
Class Name:
Method Name: cmd_resume
Project Name: markovmodel/PyEMMA
Commit Name: 954078066ca223f0598eb74b3e84d7fb44dd1d41
Time: 2017-08-24
Author: m.scherer@fu-berlin.de
File Name: setup.py
Class Name:
Method Name: