Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def get_metadata():
    config = SafeConfigParser()
    config.read(['metadata.cfg'])

    metadata = dict(config.items('metadata'))

    #metadata['py_modules'] = filter(None, metadata['py_modules'].split('\n'))
    metadata['classifiers'] = filter(None, metadata['classifiers'].split('\n'))
    metadata['scripts'] = filter(None, metadata['scripts'].split('\n'))
    metadata['install_requires'] = filter(None, metadata['install_requires'].split('\n'))
    metadata['package_dir'] = {'': 'src'}
    metadata['packages'] = find_packages(path.abspath(path.normpath(path.dirname(__file__) + '/../src')))
    metadata['ext_modules'] = [Extension('_aliyun', sources=['src/_aliyun.c'])]

    return metadata
        


src/a/l/Aliyun-0.1.1/setup/setup_posix.py   Aliyun(Download)
def get_config():
    from setup_common import get_metadata
 
    metadata = get_metadata()