Did I find the right examples for you? yes no

All Samples(36)  |  Call(18)  |  Derive(0)  |  Import(18)

        def create_release_file(metadata):
    rel = open("MySQLdb/release.py",'w')
    rel.write("""
__author__ = "%(author)s <%(author_email)s>"
version_info = %(version_info)s
__version__ = "%(version)s"
""" % metadata)
    rel.close()
        


src/h/u/hue-HEAD/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_windows.py   hue(Download)
def get_config():
    import os, sys, _winreg
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_windows.py   hortonworks-sandbox(Download)
def get_config():
    import os, sys, _winreg
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/h/u/hue-HEAD/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_posix.py   hue(Download)
def get_config():
    import os, sys
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_posix.py   hortonworks-sandbox(Download)
def get_config():
    import os, sys
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/1/2/12tweet-HEAD/mysql/setup_windows.py   12tweet(Download)
def get_config():
    import os, sys, _winreg
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/m/y/MySQL-python-1.2.5/setup_windows.py   MySQL-python(Download)
def get_config():
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
 
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/1/2/12tweet-HEAD/mysql/setup_posix.py   12tweet(Download)
def get_config():
    import os, sys
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/m/y/MySQL-for-Python-3-HEAD/setup_windows.py   MySQL-for-Python-3(Download)
def get_config():
    import os, sys
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/m/y/MySQLdb1-HEAD/setup_windows.py   MySQLdb1(Download)
def get_config():
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
 
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

src/m/o/moist-HEAD/setup_windows.py   moist(Download)
def get_config():
    import os, sys, _winreg
    from setup_common import get_metadata_and_options, enabled, create_release_file
 
    metadata, options = get_metadata_and_options()
        ('__version__', metadata['version']),
        ]
    create_release_file(metadata)
    del metadata['version_info']
    ext_options = dict(

  1 | 2  Next