Open dpritchett opened 7 years ago
I did a serverless example using Python last week and I wound up vendoring the deps in a folder inside the repo using some pretty goofy looking load path hacks inside my main .py
file. I don't see any of that here though.
Hmm to be honest I don't know much about the Python package system. This is what we have right now (was contributed) which is supposed to vendor the dependencies: https://github.com/apex/up/blob/master/config.go#L377
Any help would be great!
I can't find (local) evidence of that .pypath folder in the repo or in ~.
I was using asdf
and fish
so I tried again from within Bash - no
difference.
How might I debug the build hooks? They seem to not be completing if they are running at all.
On Fri, Sep 15, 2017 at 12:12 PM, TJ Holowaychuk notifications@github.com wrote:
Hmm to be honest I don't know much about the Python package system. This is what we have right now (was contributed) which is supposed to vendor the dependencies: https://github.com/apex/up/blob/master/config.go#L377
Any help would be great!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apex/up-examples/issues/48#issuecomment-329842762, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJCDRvPKKTWZ6pvmdSAELjh0ICoRgczks5siq_ygaJpZM4PY4C- .
hmm you could try up run build
to run just the build hook. Maybe there's a better way to vendor the python dependencies into the zip
Hi TJ! This seems like a pretty cool project and as a Go fan I think I'd prefer it to Serverless. Let me know if I can help!
Thanks, Daniel