Takuma Yoneda

Random Tips

Pip-related

Specify specific commit hash

pip install -e git+https://git.repo/some_repo.git@commit-hash

pip install from a sub-directory

Look at this stackoverflow page.

pip install -e git+https://git.repo/some_repo.git#egg=version_subpkg&subdirectory=repo

Pipenv

store venv in a project directory