Document how to rename (move) project directory #5129
Labels
Contributor Candidate
The issue has been identified/triaged and contributions are welcomed/encouraged.
Type: Documentation 📖
This issue relates to documentation of pipenv.
Is your feature request related to a problem? Please describe.
I am a developer with an existing project directory managed by pipenv. I want to move my project directory (rename the directory and/or move it to a different parent directory). This breaks the connection between the project directory and the environment directory.
The workaround is to remove the pipenv management of the project directory via
pipenv --rm
, then move or rename the project directory, then restore pipenv management viapipenv install
. (Source: answer to discussion #5123 "How do I rename or move a directory managed by pipenv?".)Describe the solution you'd like
A section of the documentation entitled, "How to rename or move the project directory", in either the Basics documentation (docs/basics.rst) or Advanced documentation (docs/advanced.rst). A few sentences should be enough to describe the method. The title should attract the attention of a developer wanting to rename their project directory and wondering how to do it right.
Also describe what a developer should do who has renamed their directory, discovered that things have broken, and who wants to recover.
Describe alternatives you've considered
The Install documentation section, ''Virtualenv mapping caveat'', does say,
This is clearly relevant, but also when I had the question, I could not find the answer here. Thus I think this information belongs in Basics or Advanced, with a clearly relevant heading, instead.
Additional context
Related issues:
I am running pipenv 2022.5.2 on macOS Monterey 12.4.
The text was updated successfully, but these errors were encountered: