I want to move the program to another environment, eg A to B.
- At A, I first issue pipenv lock to update the Pipfile.lock.
- I copy the Pipfile.lock from A to B.
- At B, I issue pipenv install --ignore-pipfile to create the new environment from the Pipfile.lock. I notice that it will also create a Pipfile but without any packages in the [package] section.
Is this the correct behaviour ? I find the Pipfile misleading if I were to read it as it does not reflect the packages installed.
Should I delete it or I should keep it ?
Or I've made a mistake in my procedure ?
Thanks very much !