I have to work with few django projects that uses virtualenv (and that is fine). Except its quite hard to get this virtual setup every time I want to develop something.
So I'd like to use zc.buildout , it would solve easy environment construction issue. Unfortunately I must not break old virtualenv way of developing/deploying .
Projects heavily rely on manage.py file.
/project_root
|-- virtual
|-- website
|-- manage.py (has to access all python packages that buildout installs)
`-- ...
Basically I need buildout to install eggs to virtual/lib/python/site_packages folder, best would be to symlink form egg cache.
Notes:
Its not perfect, but works:
您可以使用cp.recipe.cmd并通过--install-dir选项运行easy_install命令
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.