[Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]
Donald Stufft
donald at stufft.io
Thu May 8 16:10:35 CEST 2014
More information about the Python-Dev mailing list
Thu May 8 16:10:35 CEST 2014
- Previous message: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]
- Next message: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On May 8, 2014, at 9:58 AM, Donald Stufft <donald at stufft.io> wrote: > Now this does not mean that ``pip install cdecimal`` will automatically install > this, because whether or not you're willing to install from servers other than > PyPI[1] is a policy decision for the end user of pip. I forgot to add, for externally hosted files that are able to be safely downloaded pip's users can either elect to use any/all of them via: $ pip install --allow-all-external cdecimal $ PIP_ALLOW_ALL_EXTERNAL=1 pip install cdecimal $ echo "--allow-all-external\ncdecimal" > requirements.txt $ pip install -r requirements.txt $ echo "[global]\nallow-allow-external=true" > ~/.pip/pip.conf $ pip install cdecimal They can also elect to allow externally hosted files for *only* cdecimal using: $ pip install --allow-external cdecimal decimal $ PIP_ALLOW_EXTERNAL=cdecimal pip install cdecimal $ echo "--allow-external decimal\ncdecimal" > requirements.txt $ pip install -r requirements.txt $ echo "[global]\nallow-external=decimal" > ~/.pip/pip.conf $ pip install cdecimal I may have the syntax on the non command flag options slightly wrong, those are auto generated for us in our option system and I don't personally use those options. Also the reason for the extra verbosity in ``--allow-external`` is so you can allow it on something you don't directly depend on, like: $ pip install --allow-external cdecimal foobar-which-depends-on-cdecimal ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://mail.python.org/pipermail/python-dev/attachments/20140508/4b472931/attachment.sig>
- Previous message: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]
- Next message: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list