Search code examples
pythonpipenv

How to get pipenv to work based on a symlink path rather than the real path


Assuming my project name is test

symlink test --> test_releases/test_v1

cd test
pipenv shell

the above commands gives me a virutal env for the test_v1 directory, but i would like to have virtualenv linked to test

bcoz wehn i update the projects and have symlink test --> test_releases/test_v2, its creating a new test_v2 and i m having a lot of virtual envs piled up


Solution

  • No such option available, i made a fork of pipenv and added my custom environemnt variable to get the required result