Skip to content

Commit 555648f

Browse files
committed
add note to readme about dependencies that can be cleaned up depending on the backend used
1 parent 76e3428 commit 555648f

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,23 @@ The crytography option is a good default.
4242
$ pip install python-jose[pycryptodome]
4343
$ pip install python-jose[pycrypto]
4444

45+
Due to complexities with setuptools, the ``python-rsa`` and ``python-ecdsa`` libraries are always installed.
46+
If you use one of the custom backends and would like to clean up unneeded dependencies,
47+
you can remove the following dependencies for each backend:
48+
49+
* ``cryptography``
50+
51+
* ``pip uninstall rsa ecdsa pyasn1``
52+
53+
* ``pycrypto`` or ``pycryptodome``
54+
55+
* ``pip uninstall rsa``
56+
57+
.. warning::
58+
59+
Uninstall carefully. Make sure that nothing else in your environment needs these
60+
libraries before uninstalling them.
61+
4562

4663
Usage
4764
-----

0 commit comments

Comments
 (0)