有没有一个使用pip但不安装virtualenv的buildout配方?
我想用buildout,而不是virtualenv。这个决定意味着我不想在我的工具包里偷偷加上virtualenv,所以我在寻找一种方法,告诉gp.recipe.pip 不要安装这个virtualenv的东西,或者找一种方法,从git仓库安装包,以便在django/djangorecipe中使用。
有什么想法吗?
1 个回答
5
当然,
你想在你的构建环境中使用 mr.developer。
具体来说,(摘自mr.developer页面),你可以这样做:
[buildout]
extensions = mr.developer
auto-checkout = my.package
[sources]
my.package = svn http://example.com/svn/my.package/trunk update=true
some.other.package = git git://example.com/git/some.other.package.git
这样做会让你从git上获取你想要的包,并将它们作为开发版本安装到你的构建环境中。