On Sat, Mar 24, 2018 at 9:29 AM, Nick Coghlan <ncogh...@gmail.com> wrote:
> On 23 March 2018 at 02:58, Gregory Szorc <gregory.sz...@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
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com