dephell deps sync

This command works in the same way as dephell deps install, but also removes from environment all packages that not presented in project dependencies (obsolete).

See also

  1. How DepHell choose Python environment.
  2. dephell venv create to create virtual environment for dependencies.
  3. dephell deps install to install dependencies without dropping obsolete packages.
  4. dephell package install to install single package.
  5. dephell jail install to install some Python CLI tool into isolated virtual environment.