I'm going to be hopefully deploying the first of many (fingers crossed!) projects through Heroku here soon. My concerns about a git and pip driven environment are that it becomes difficult to clone our internal reusable private Github repo apps through pip. For example, we have apps for blogs, comments, feedback, search, and so on that can be reused in other projects. What I have seen so far are that you can use either HTTP auth by embedding a username/password in the URL or jump through hoops generating an SSH key.
我希望很快就能通过Heroku部署第一个项目。我对git和pip驱动环境的担心是,很难通过pip克隆内部可重用的私有Github repo应用程序。例如,我们有用于博客、评论、反馈、搜索等的应用程序,可以在其他项目中重用。到目前为止,我所看到的是,您可以通过在URL中嵌入用户名/密码来使用HTTP auth,或者在生成SSH密钥时跳过hoops。
I appreciate you guys taking the time to read this. There are a million other things I'm sure you could be doing right now instead so thanks :)
我很感激你们花时间读这篇文章。我肯定你现在还有很多事情要做,所以谢谢
1 个解决方案
#1
1
I would recommend setting up a private PyPI server. I've been researching it recently, and the one that seemed best to me was devpi.
我建议设置一个私有PyPI服务器。我最近一直在研究它,对我来说最好的是devpi。
Alternatively, a paid-for service such as Gemfury may be more appropriate for you. I personally rejected it because it does not support releasing python packages the normal (sdist upload
) way, but perhaps that was unfair.
另外,像Gemfury这样的付费服务可能更适合你。我个人拒绝它,因为它不支持按常规(sdist上载)方式发布python包,但这可能是不公平的。
#1
1
I would recommend setting up a private PyPI server. I've been researching it recently, and the one that seemed best to me was devpi.
我建议设置一个私有PyPI服务器。我最近一直在研究它,对我来说最好的是devpi。
Alternatively, a paid-for service such as Gemfury may be more appropriate for you. I personally rejected it because it does not support releasing python packages the normal (sdist upload
) way, but perhaps that was unfair.
另外,像Gemfury这样的付费服务可能更适合你。我个人拒绝它,因为它不支持按常规(sdist上载)方式发布python包,但这可能是不公平的。