Last active
January 10, 2025 09:38
-
-
Save milescsmith/2c4afcded739d38345f520a63d7357fa to your computer and use it in GitHub Desktop.
install python module from git where setup.py is in a subdirectory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install -e 'git://github.com/{ username }/{ reponame }.git@{ tag name }#egg={ desired egg name }&subdirectory={ subdir }' | |
or | |
pip install -e 'https://github.com/{ username }/{ reponame }.git@{ branch/tag name }#egg={ whatever }&subdirectory={ subdir }' | |
The key is those single quotes - without them, Bash ignores the subdirectory portion. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you man, very useful!