MCPcopy Index your code
hub / github.com/davispuh/MySQL-for-Python-3 / create_release_file

Function create_release_file

setup_common.py:25–32  ·  view source on GitHub ↗
(metadata)

Source from the content-addressed store, hash-verified

23 raise ValueError("Unknown value %s for option %s" % (value, option))
24
25def create_release_file(metadata):
26 rel = open("MySQLdb/release.py",'w')
27 rel.write("""
28__author__ = "%(author)s <%(author_email)s>"
29version_info = %(version_info)s
30__version__ = "%(version)s"
31""" % metadata)
32 rel.close()

Callers 2

get_configFunction · 0.90
get_configFunction · 0.90

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected