pip包依赖问题
以此为例: https://github.com/bitprophet/fabric/ blob/master/setup.py#L41
所以 Fabric 需要 pycrypto >= 1.9 和 paramiko >=1.7.6
如果 pycrypto 将版本更新到 2.1,会怎样,并更改他们的api,这会影响我的包。这不是我想要的结果。
那么他们的约定是,包不能更改 api,或者是否可以将我需要的包包装到我自己的包中?
take this as example: https://github.com/bitprophet/fabric/blob/master/setup.py#L41
so Fabric requires pycrypto >= 1.9 and paramiko >=1.7.6
what if pycrypto update version to 2.1, and change their api, it will affect my package. this is not the result i want.
so is their a convention that, package can't change api, or is it posible to wrap the package i needed into my own package?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个怎么样?
摘录
how about this?
an excerpt