jorgebastida / jorgebastida/gordon
Packaging binaries efficiently
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2k
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
Hi. Gordon looks great.
Sorry if this is covered somewhere else.
I'm particularly interested in approaches like those taken to run sci-kit learn on lamda or with or larger packages with sci-kit like serapis.
Will the following commands for zipping up a virtual environment be sufficient for gordon to include these packages in the deploy?
$ find "$VIRTUAL_ENV/lib64/python2.7/site-packages/" -name "*.so" | xargs strip
$ pushd "$VIRTUAL_ENV/lib64/python2.7/site-packages/"
$ zip -r -9 -q ~/venv.zip *
$ popd
Will zip -9 be used to ensure proper size?
Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names virtualenv site-packages, shell commands using find, strip, and zip, and Gordon's deployment process, but no repository files or tests. Start by locating the packaging path for AWS Lambda deployments and checking how binary dependencies and archive compression are handled; done means determining whether this workflow is supported and what package-size constraints apply.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- build-system, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100