TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How we improved Python packaging and distribution

23 点作者 sebastiank123超过 11 年前

5 条评论

j-kidd超过 11 年前
Here&#x27;s my old school setup:<p>Deployment: `easy_install -U` from a local pypi<p>Packaging: `setup.py bdist_egg` and `setup.py bdist_wininst`<p>Dependencies: declare in setup.py, fetch via yolk<p>To test if everything works, just create a blank virtualenv and easy_install.<p>This has been working fine for me for years on Linux and Windows.
评论 #7138276 未加载
评论 #7137277 未加载
jlarocco超过 11 年前
Seems like a bad idea to delete the existing sandbox before downloading everything and installing.<p>A better idea is to move it to a temp location in the first step, and only delete it after the new version has installed correctly.
评论 #7138055 未加载
q845712超过 11 年前
packaging and distribution are definitely python&#x27;s weak points... for deploying to (internal) servers i&#x27;ve really been liking docker.
评论 #7137837 未加载
Demiurge超过 11 年前
I still install binary eggs and easy_install occasionally. Why didn&#x27;t those fit in with pip?
评论 #7138051 未加载
af3超过 11 年前
Geez, installation of the enterprise python software seems to be very complicated...
评论 #7137003 未加载