dephell package purge¶
Remove package with package dependencies:
$ dephell package purge tomlkit
This command removes package and package dependencies that aren’t required for other packages in the environment. For example, you want to remove pathlib2
. This package has scandir
and six
in the requirements. However, six
also used in requests
, that also installed on your system. scandir
isn’t used in another package. So, this command will remove only pathlib2
and scandir
. Of course, scandir
can be used in some of your projects that isn’t explicitly installed. So, if you want to avoid it and drop only package without dependencies use dephell package remove.
See also¶
- How DepHell choose Python environment.
- dephell package remove to remove package without dependencies.
- dephell package install to install package into environment.
- dephell deps install to install all project dependencies.
- dephell jail install to install Python CLI tools into isolated virtual environment.