c719038ed5b1b92f624278eb7a50be34bbde5aee,tensorflow_hub/pip_package/setup.py,,,#,25
Before Change
// Can"t import the module during setup.py.
// Use execfile to find __version__.
execfile("tensorflow_hub/version.py")
REQUIRED_PACKAGES = [
"numpy >= 1.12.0",
"six >= 1.10.0",
After Change
// Can"t import the module during setup.py.
// Use execfile to find __version__.
with open("tensorflow_hub/version.py") as in_file:
exec(in_file.read())
REQUIRED_PACKAGES = [
"numpy >= 1.12.0",
"six >= 1.10.0",
"protobuf >= 3.4.0",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: tensorflow/hub
Commit Name: c719038ed5b1b92f624278eb7a50be34bbde5aee
Time: 2018-04-03
Author: cclauss@bluewin.ch
File Name: tensorflow_hub/pip_package/setup.py
Class Name:
Method Name:
Project Name: pymc-devs/pymc3
Commit Name: b832e7407adb14e6721de1bec9d1e1c8bd4fd401
Time: 2014-01-12
Author: chris.fonnesbeck@vanderbilt.edu
File Name: setupegg.py
Class Name:
Method Name:
Project Name: tensorflow/magenta
Commit Name: f82cb4e5b8b97a3d16435b776fbb87ab35257dc3
Time: 2017-08-22
Author: cclauss@bluewin.ch
File Name: magenta/tools/pip/setup.py
Class Name:
Method Name: