• [^] # Re: Drew ? J'ai un peu du mal avec ce type

    Posté par . En réponse au journal Appel à contribution pour un nouveau langage !. Évalué à 6.

    Surtout que ce n'est pas une dépendance. C'est compilé.

    C’est pas une dépendance « runtime », c’est une dépendance si tu tiens absolument à compiler le module toi même.

    Mais à moins d’être mainteneur d’une distribution, t’as juste pas besoin de le faire :

    $ rustc
    zsh: command not found: rustc
    $ python3 -m pip install --user --upgrade cryptography
    Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (3.3.2)
    Collecting cryptography
     Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
     |████████████████████████████████| 3.2 MB 1.4 MB/s
    Collecting cffi>=1.12
     Downloading cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl (406 kB)
     |████████████████████████████████| 406 kB 1.6 MB/s
    Collecting pycparser
     Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
     |████████████████████████████████| 112 kB 1.4 MB/s
    Installing collected packages: pycparser, cffi, cryptography
    Successfully installed cffi-1.14.5 cryptography-3.4.7 pycparser-2.20
    $ python3
    Python 3.9.2 (default, Feb 28 2021, 17:03:44)
    [GCC 10.2.1 20210110] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import cryptography
    >>>