Skip to content

Instantly share code, notes, and snippets.

@ktreharrison
Created February 1, 2023 18:25
Show Gist options
  • Save ktreharrison/a58f7c7275e8e96f77e11dedb9e7e0b3 to your computer and use it in GitHub Desktop.
Save ktreharrison/a58f7c7275e8e96f77e11dedb9e7e0b3 to your computer and use it in GitHub Desktop.
Wrap Workflow for Python Virtual Environment
name: Create a Python Virtual Environment
command: mkdir {{folder_name}} && cd {{folder_name}} && py -m venv {{venv}} && source ./{{venv}}/bin/activate && py -m pip install --upgrade pip
arguments:
- name: venv
description: Give a name to your virtual enverionment (default venv)
default_value: venv
- name: folder_name
description: Give your project a name.
default_value: name_me_later
tags: ["python", "venv"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment