将模块安装到自定义站点包目录中
我继承了一个半成品的django项目 它使用自定义的 site-packages
目录 与代码一起被签入 subversion。
作为 python 的新手,我想知道我是否可以 复制一些鸡蛋的内容 - 我想添加 进入django项目-直接进入这个 我的 ubuntu dist-packages
目录中的 site-packages
目录。
/usr/local/lib/python2.6/dist-packages
如果我手动执行此操作,是否有需要注意的问题?
I have inherited a half-finished django project
which uses a custom site-packages
directory that
is checked into subversion along with the code.
Being a newbie to python, I'm wondering if I can just
copy the contents of some eggs - that I want to add
into the django project - directly into thissite-packages
directory from my ubuntu dist-packages
directory.
/usr/local/lib/python2.6/dist-packages
Are there gotchas that I should watch out for if I do this manually ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用 virtualenv
You need to use virtualenv