aba8edcf5e636a27711615315b935bb6a05ea173,setup.py,,,#,6
Before Change
from setuptools import setup, find_packages
with open(path.join(path.abspath(path.dirname(__file__)),
"VERSION")) as f:
version = f.read().strip()
with open(path.join(path.abspath(path.dirname(__file__)),
"README.md"),
encoding="utf-8") as f:
long_description = f.read()
After Change
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
OPTIONAL_DEPENDENCIES = ("autograd", "tensorflow", "theano")
def parse_requirements_file(filename):
with open(filename) as f:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pymanopt/pymanopt
Commit Name: aba8edcf5e636a27711615315b935bb6a05ea173
Time: 2020-01-20
Author: niklas.koep@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: pyprob/pyprob
Commit Name: d16e01d88cd194b5ed5ccd3949dd4f0e4e3fc38e
Time: 2017-04-25
Author: atilimgunes.baydin@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: facebook/FAI-PEP
Commit Name: c68815a01e04ad21d0128b53235ab1bd915b6c6a
Time: 2018-09-07
Author: sf_wind@hotmail.com
File Name: benchmarking/platforms/ios/ios_platform.py
Class Name: IOSPlatform
Method Name: preprocess