2017年10月5日
摘要: 最简单的方式离线部署Python依赖包 SHOW ME CODE! 打包: $ tempdir=$(mktemp d /tmp/wheelhouse XXXXX) $ pip wheel r requirements.txt wheel dir=$tempdir $ cwd= $ (cd "$tem 阅读全文
posted @ 2017-10-05 14:26 eshizhan 阅读(2232) 评论(0) 推荐(0) 编辑
摘要: Mock an function to modify partial return value by special arguments on Python python mock一个带参数的方法,修改指定参数的返回值,大家直接看代码就能懂。 want mock code: mock code: 阅读全文
posted @ 2017-10-05 14:02 eshizhan 阅读(381) 评论(0) 推荐(0) 编辑
摘要: pip default install to $HOME/.local on Debian/Ubuntu After pip 8.1.1 2 on Debian or Ubuntu you can pip install package without root user, which defaul 阅读全文
posted @ 2017-10-05 11:51 eshizhan 阅读(414) 评论(0) 推荐(0) 编辑
摘要: [Cassandra] Mutation of bytes is too large for the maxiumum size of Q: `WARN [SharedPool Worker 4] 2015 11 28 20:04:44,663 AbstractTracingAwareExecuto 阅读全文
posted @ 2017-10-05 11:21 eshizhan 阅读(590) 评论(0) 推荐(0) 编辑