original_docstring: makes virtual environment for development and adds alias to ~/.bashrc
docstring: makes virtual environment for development and adds alias to ~/.bashrc
docstring_tokens: makes virtual environment for development and adds alias to ~ / . bashrc
code: def main() -> None:
      """makes virtual environment for development and adds alias to ~/.bashrc"""
  
      py_version = f"{sys.version_info[0]}{sys.version_info[1]}"
  
      config = load_cfg()
      lib_name = config.get("metadata", "name")
  
      venv_path = create_venv(lib_name, py_version)
      activate_path = venv_path / "bin" / "activate"
  
      bash_alias = register_venv(activate_path, lib_name, py_version)
  
      sys.stdout.write(str(bash_alias))
code_tokens: def main ( ) -> None : py_version = f"{sys.version_info[0]}{sys.version_info[1]}" config = load_cfg ( ) lib_name = config . get ( "metadata" , "name" ) venv_path = create_venv ( lib_name , py_version ) activate_path = venv_path / "bin" / "activate" bash_alias = register_venv ( activate_path , lib_name , py_version ) sys . stdout . write ( str ( bash_alias ) )
short_docstring: makes virtual environment for development and adds alias to ~/.bashrc
short_docstring_tokens: makes virtual environment for development and adds alias to ~ / . bashrc
comment: """makes virtual environment for development and adds alias to ~/.bashrc"""