Open ar-jan opened 9 years ago
If the package (and all its dependencies) are pure-python, then there's a way. You can download a backup of the grain, extract the zip, copy your packages into the sandbox directory and re-zip it. Upload this back to Sandstorm, and your packages will be available under /var and available for import by appending to sys.path.
Unfortunately, beatifulsoup relies on lxml which relies on the compiled C library libxml2. You may be able to get that to work, but it'd be much harder.
Would there be a way to include extra packages other than building your own spk? Or is it an option to include some popular packages in Sandstorm's version? (e.g. beautifulsoup4).