Hi list, I am trying to determine what packages pip would install from within a Python script.
The use-case is this: I'm working on a special-purpose build system in Python, each project that it's used in has a requirements.txt and possibly constraints.txt with pinned versions of Python packages, everything gets installed to a checkout-specific venv. These files might change if the user switches branches, so I want to find out from within the build system if pip would install anything, so I can run `pip install` from within the build system and exit (so the user re-runs the build system with updated dependencies). So I'm thinking of a dry-run from which I can infer if pip would install anything at all. -- You received this message because you are subscribed to the Google Groups "virtualenv" group. To unsubscribe from this group and stop receiving emails from it, send an email to python-virtualenv+unsubscr...@googlegroups.com. To post to this group, send email to python-virtualenv@googlegroups.com. Visit this group at https://groups.google.com/group/python-virtualenv. For more options, visit https://groups.google.com/d/optout.