69e3281193adeac365b0a223fbfb13eb8be2ee5e,setup.py,,,#,18
Before Change
import pypandoc
readme = pypandoc.convert(readme, to="rst", format="md")
except:
logging.warn("Conversion of long_description from MD to RST failed")
pass
if __name__ == "__main__":
setup(
After Change
logging.warn("Failed to load %s" % readme_filename)
readme_markdown = ""
with open("%s/__init__.py" % package_name, "r") as f:
version = re.search(
r"^__version__\s*=\s*[\""]([^\""]*)[\""]",
f.read(),
re.MULTILINE).group(1)
if __name__ == "__main__":
setup(
name=package_name,
version=version,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: iskandr/fancyimpute
Commit Name: 69e3281193adeac365b0a223fbfb13eb8be2ee5e
Time: 2018-11-09
Author: alex.rubinsteyn@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: biotite-dev/biotite
Commit Name: 3a2475ce4f5402a64e8de644048d439e12ffb7b5
Time: 2020-12-07
Author: anter.jacob@gmail.com
File Name: tests/structure/test_charges.py
Class Name:
Method Name: test_valence_state_not_parametrized
Project Name: okfn-brasil/serenata-de-amor
Commit Name: cef99445ab551931fed507518b85034b97c946ee
Time: 2016-11-09
Author: cuducos@gmail.com
File Name: src/search_suspect_places.py
Class Name:
Method Name: search_suspicious_around_companies