Skip to content

Instantly share code, notes, and snippets.

@Josverl
Last active April 3, 2023 14:46
Show Gist options
  • Save Josverl/e48f8204579a16dcff94cfeed500c4b4 to your computer and use it in GitHub Desktop.
Save Josverl/e48f8204579a16dcff94cfeed500c4b4 to your computer and use it in GitHub Desktop.
pip Install from git branch and subfolder
$branch = "add_callable"
$repo = "https://github.com/Josverl/micropython-stubs"
$package = "micropython-esp32-stubs"
$folder = "publish/micropython-v1_19_1-esp32-stubs"
# install stub package to typings folder
pip install -U "git+$repo/@$branch#egg=$package&subdirectory=$folder" --no-user --target typings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment