def create_user(config_data):
with chdir(os.path.abspath(config_data.project_directory)):<EOL><INDENT>env = deepcopy(dict(os.environ))<EOL>env[str('<STR_LIT>')] = str('<STR_LIT>'.format(config_data.project_name))<EOL>env[str('<STR_LIT>')] = str(os.pathsep.join(map(shlex_quote, sys.path)))<EOL>subprocess.check_call(<EOL>[sys.executable, '<STR_LIT>'], env=env, stderr=subprocess.STDOUT<EOL>)<EOL>for ext in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>try:<EOL><INDENT>os.remove('<STR_LIT>'.format(ext))<EOL><DEDENT>except OSError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>
Create admin user without user input

:param config_data: configuration data