def maker(): settings.clear() opts = { 'projectDir': gettempdir(), 'force': True, 'merge': False, 'test': 'unittest' } return tests.TestMaker(**opts)
def maker(): settings.clear() opts = { 'projectDir': gettempdir(), 'force': False, 'license': 'GPL2', } return license.Maker(**opts)
def maker(): settings.clear() opts = { 'projectDir': gettempdir(), 'projectName': 'My Awesome Project', 'force': False, } return readme.Maker(**opts)
def maker2(): settings.clear() info = { 'projectDir': gettempdir(), 'projectName': 'project', 'format': 'src', 'merge': False, 'force': False, } return package.Maker(**info)
def maker(): settings.clear() info = { 'projectDir': gettempdir(), 'projectName': 'project', 'merge': False, 'force': False, } settings['projectName'] = 'project' return docs.Maker(**info)
def maker(): settings.clear() # 'description' and 'license' are not given opts = { 'projectDir': gettempdir(), 'projectName': 'project', 'format': 'basic', 'quiet': True, 'force': True, 'test': 'pytest', } return m.Maker(**opts)
def maker(): settings.clear() opts = { 'projectDir': gettempdir(), 'projectName': 'project', 'format': 'basic', 'quiet': False, 'merge': False, 'force': True, 'verbose': True, 'test': 'pytest', } settings.update(opts) return project.Maker(**opts)
def maker(setup_cfg): settings.clear() settings.update(helpers.read_setup_cfg(setup_cfg)) settings['projectName'] = settings.get('name') return m.SetupMaker(gettempdir(), True)
def changer(setup, setup_cfg): os.chdir(gettempdir()) settings.clear() return license_change.Maker(list_option=False, license='NEW-BSD')