Replies: 1 comment
-
I know this plugin but I've never used it. Perhaps you can have a try. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we are considering to switch to PDM instead of using regular pip & venv tools, but we are trying to come up with an "offline" workflow using PDM.
90% of the time we are connected to internet and PDM works well for those use cases. But in some cases we need to install dependencies of our projects on computers that don't have internet or network connections because the computers are located in highly secured areas (defense, radiation testing, clean rooms etc.).
Our current solution is to download all dependencies in requirements.txt to a local folder:
pip download -r requirements.txt -d [PATH_TO_LOCAL_FOLDER]
Put this folder to a USB flash disk, and then copy to the target computer. Then execute this command:
pip install -r requirements.txt --no-index --find-links [PATH_TO_LOCAL_FOLDER]
And this works very well. But is there a way to achieve this with PDM?
Beta Was this translation helpful? Give feedback.
All reactions