开发者

How to manage different distribution packages of the same Python package?

Is there a way (with distribute or another package) to manage different distributions (meaning different setup.py fil开发者_JAVA技巧es) of the same Python package?


You might have a look to buildout. With buildout you can have a single setup.py for a package and have multiple buildout configuration files that specify different ways of building that package with the other packages you want to have in the same distribution (including its version dependencies).

I think with pip freeze, pip bundle you can also achieve something similar but AFAIK only for versions of packages (you can't install and setup an LDAP server for example, but you can do it that in buildout).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜