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: <http://mail.python.org/pipermail/python-dev/attachments/20180324/215ca6d4/attachment-0001.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4