I have a Django application, that does some intensive computational tasks. To make its execution faster I run it with PyPy (the Python alternative extension to run scripts faster).
我有一个Django应用程序,它执行一些密集的计算任务。为了使其执行更快,我使用PyPy运行它(Python替代扩展以更快地运行脚本)。
I have to deploy it on amazon-aws (Elastic Beanstalk). I want to deploy it, such that it runs on PyPy on aws, (and not on conventional/default Python).
我必须在amazon-aws(Elastic Beanstalk)上部署它。我想部署它,以便它在aws上的PyPy上运行(而不是在传统的/默认的Python上)。
1 个解决方案
#1
2
The best way to run PyPy (also on AWS) is to install it (pypy is bundled these days with the default AWS distribution) and use virtualenv to manage python dependencies.
运行PyPy(也在AWS上)的最佳方法是安装它(pypy现在与默认的AWS发行版捆绑在一起)并使用virtualenv来管理python依赖项。