[Python-Dev] Better support for consuming vendored packages

Steve Holden steve at holdenweb.com
Sat Mar 24 06:30:35 EDT 2018


On Sat, Mar 24, 2018 at 9:29 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> On 23 March 2018 at 02:58, Gregory Szorc <gregory.szorc at gmail.com> wrote:
>
>> I'd like to start a discussion around practices for vendoring package
>> dependencies. I'm not sure python-dev is the appropriate venue for this
>> discussion. If not, please point me to one and I'll gladly take it there.
>>
> ​[...]​
>
> If it's the main application doing the vendoring, then the following kind
> of snippet can be helpful:
>
>     from knights.vendored import shrubbery
>     import sys
>     sys.path["shrubbery"] = shrubbery
>
> ​I suspect you meant
>

​    sys.modules["shrubbery"]​ = shrubbery
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <[Python-Dev] Better support for consuming vendored packages

	
  • Next message (by thread): [Python-Dev] PEP 541 - Accepted
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  • More information about the Python-Dev mailing list

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant