Python 在webfraction上安装软件包的问题

Python 在webfraction上安装软件包的问题,python,django,Python,Django,我正在尝试在web上设置我的项目。我的项目使用一些外部软件包,当我使用pip安装它们时,它们安装在根库目录中,即$HOME/bin,但我的项目在我的应用程序中使用python,即$HOME/webapp/app/bin。现在我只想在我的应用程序中安装软件包,即在webapp中。我对此使用了一个命令,但不起作用: pip-2.7 install --install-option="--install-script=$PWD/bin" --install-option="--install-lib=

我正在尝试在web上设置我的项目。我的项目使用一些外部软件包,当我使用pip安装它们时,它们安装在根库目录中,即
$HOME/bin
,但我的项目在我的应用程序中使用python,即
$HOME/webapp/app/bin
。现在我只想在我的应用程序中安装软件包,即在webapp中。我对此使用了一个命令,但不起作用:

pip-2.7 install --install-option="--install-script=$PWD/bin" --install-option="--install-lib=$PWD/lib/python2.7" package

我读过webfraction文档,但没看懂。因此,请告诉我如何在webapp中安装软件包的步骤。

例如,假设您希望使用pip在Web派系上安装django haystack 2.0.0。你可以做以下(我认为PWD不起作用):

pip-2.7 install django-haystack==2.0.0 --install-option="--install-scripts=/home/your_account/webapps/your_django_app/bin" --install-option="--install-lib=/home/your_account/webapps/your_django_app/lib/python2.7"