{"id":554485,"date":"2022-02-10T23:38:25","date_gmt":"2022-02-10T15:38:25","guid":{"rendered":"http:\/\/4563.org\/?p=554485"},"modified":"2022-02-10T23:38:25","modified_gmt":"2022-02-10T15:38:25","slug":"%e6%9c%89%e4%ba%ba%e5%b0%9d%e8%af%95%e8%bf%87%e4%bd%bf%e7%94%a8-pypi-%e5%88%86%e5%8f%91%e4%ba%8c%e8%bf%9b%e5%88%b6%e7%a8%8b%e5%ba%8f%e5%90%97%ef%bc%9f-2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=554485","title":{"rendered":"\u6709\u4eba\u5c1d\u8bd5\u8fc7\u4f7f\u7528 pypi \u5206\u53d1\u4e8c\u8fdb\u5236\u7a0b\u5e8f\u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> \u6709\u4eba\u5c1d\u8bd5\u8fc7\u4f7f\u7528 pypi \u5206\u53d1\u4e8c\u8fdb\u5236\u7a0b\u5e8f\u5417\uff1f <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ihciah <\/span>  <span><i><\/i> 36<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>RT \u3002\u6709\u4e9b go\/rust \u5199\u7684\u5c0f\u5de5\u5177\uff0c\u60f3\u8ba9\u7528\u6237\u80fd\u591f\u5feb\u901f\u5b89\u88c5\uff08\u5728\u4e0d\u5b89\u88c5 go\/rust \u672c\u8eab\u7684\u524d\u63d0\u4e0b\uff09\u3002<\/p>\n<p>\u7a0d\u5fae\u7814\u7a76\u4e86\u4e00\u4e0b\uff0cpypi \u652f\u6301\u4e0a\u4f20 WHEEL \u548c \u6e90\u4ee3\u7801 \u5f62\u5f0f\u7684\u8f6f\u4ef6\u5305\uff1b WHEEL \u5f62\u5f0f\u9002\u5408\u5206\u53d1\u5e26\u6709\u4e8c\u8fdb\u5236\u7684\u4e1c\u897f\uff0c\u53ef\u4ee5\u6839\u636e\u5e73\u53f0\u7cfb\u7edf\u7b49\u62c9\u53d6\u5bf9\u5e94\u7248\u672c\u3002<\/p>\n<p>\u4f46\u662f\u4f3c\u4e4e\u60f3\u76f4\u63a5\u653e bin \u91cc\u7684\u65f6\u5019\u6709\u70b9\u56f0\u96be\uff0c\u53ea\u80fd\u5728 <code>entry_points.txt<\/code> \u91cc\u6307\u5b9a python \u6a21\u5757\u540d\uff0c\u8fd9\u6837\u8c03\u7528\u4e8c\u8fdb\u5236\u5c31\u5f97\u7ed5\u4e00\u6b21 python \u3002\u3002<\/p>\n<p>\u6709\u4ec0\u4e48\u66f4\u4f18\u96c5\u7684\u529e\u6cd5\u505a\u8fd9\u4ef6\u4e8b\u5417\uff1f\u6216\u8005\u8bf4\u6709\u4ec0\u4e48\u66f4\u65b9\u4fbf\u901a\u7528\u7684\u5e73\u53f0\u53ef\u4ee5\u5206\u53d1\u4e8c\u8fdb\u5236\uff1f<\/p>\n<blockquote>\n<p>\u5173\u4e8e\u4e3a\u4ec0\u4e48\u60f3\u7528 pypi \u8fd9\u79cd\u4e13\u95e8\u5206\u53d1 python \u4ee3\u7801\u7684\u5e73\u53f0\uff1a \u56e0\u4e3a\u5b9e\u5728\u662f\u592a\u65b9\u4fbf\u4e86\uff0c\u5404\u5e73\u53f0(\u9664\u4e86 windows)\u90fd\u80fd\u76f4\u63a5\u7528\u5185\u7f6e\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5b89\u88c5\uff0c\u5e76\u4e14\u56fd\u5185\u955c\u50cf\u6e90\u4e5f\u6bd4\u8f83\u5b8c\u5584\u3002<\/p>\n<\/blockquote><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>23<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"7087538\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : necomancer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> conda ? <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087539\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ihciah <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @necomancer \u5b89\u88c5 conda \u672c\u8eab\u4e5f\u8981\u624b\u52a8\u533a\u5206\u5e73\u53f0\u5e76\u4e0b\u8f7d\u5b89\u88c5\u5305\uff08\u5e76\u4e14\u4e5f\u4e0d\u5c0f\uff09\uff0c\u611f\u89c9\u4e5f\u6709\u70b9\u9ebb\u70e6\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087540\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Buges <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div>  \u4e0d\u8981\u8fd9\u6837\u6ee5\u7528\uff0cpip \u5b89\u88c5\u547d\u4ee4\u884c\u7a0b\u5e8f\u672c\u8eab\u5c31\u5f88\u7cdf\u7cd5\uff0c\u4f60\u8fd8\u4e0d\u5982\u4e0a npm \u3002<br \/>\u5efa\u8bae\u5199\u4e2a brew formula \uff0cmac \u548c linux \u90fd\u53ef\u4ee5\u7528\u3002Windows \u7684\u8bdd\u4ee5\u524d\u90fd\u7528 scoop \uff0c\u4e5f\u53ef\u4ee5\u770b\u770b\u5fae\u8f6f\u81ea\u5df1\u7684 winget \uff0c\u542c\u8bf4\u5df2\u7ecf\u5185\u7f6e\u4e86\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087541\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ipwx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4f60\u8fd9\u79cd\u65b9\u5f0f\u6ee5\u7528\u4e86\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087542\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : virusdefender <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5404\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5e76\u4e0d\u662f\u9ed8\u8ba4\u90fd\u6709 pip \uff0c\u4f60\u8fd9\u79cd\u8ba9\u7528\u6237 curl https:\/\/xxx\/install.sh | bash \u53ef\u80fd\u66f4\u597d\u4e00\u4e9b  <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087543\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : necomancer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @ihciah miniconda \u4e5f\u5c31 20M \u5427\u2026\u2026 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087544\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Vegetable <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u53ef\u7740 NPM \u7978\u5bb3\u5427\u8fd8\u662f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087545\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LeeReamond <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5176\u5b9e\u6211\u611f\u89c9\u5012\u4e0d\u7b97\u6ee5\u7528\uff0c\u6bd5\u7adf py \u505a\u80f6\u6c34\uff0c\u5176\u4ed6\u8bed\u8a00\u505a\u91cc\u5b50\u5c31\u662f py \u7684\u5e38\u89c1\u7279\u6027\u4e4b\u4e00\u3002\u5206\u53d1\u65b9\u9762\u6211\u4ee5\u524d\u6298\u817e\u8fc7 win \uff0clinux \u7684\u591a\u53d1\u884c\u7248\u6ca1\u6298\u817e\u660e\u767d\uff0c\u5982\u679c lz \u660e\u767d\u8fd8\u8bf7\u6559\u6211\u3002\u786e\u5b9e\u5982 lz \u6240\u8bf4\u65e0\u6cd5\u76f4\u63a5\u90e8\u7f72\u5230\u7cfb\u7edf\u76ee\u5f55\uff0c\u9700\u8981\u4f7f\u7528 py \u7684\u6784\u5efa\u547d\u4ee4\u80fd\u529b\uff0c\u4f46\u662f\u8c03\u7528 api \u7684\u8bdd py \u6709\u591a\u7248\u672c\u4e8c\u8fdb\u5236\u91cd\u7f16\u8bd1\u7684\u95ee\u9898\uff0c\u6bd4\u5982 cython \u7684\u6784\u5efa\u7ed3\u679c\u4e0d\u80fd\u8de8\u7248\u672c\uff0cpyo3 \u4e5f\u662f\u4e00\u6837\uff0c\u53d1\u5e03\u7684 ci \u4e0a\u8981\u8d39\u70b9\u529f\u592b <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087546\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kobayashi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> pypi \u53d1\u5e03\u4e8c\u8fdb\u5236\uff0cnpm \u53d1\u5e03 shell \u811a\u672c\uff0c\u6211\u89c9\u5f97\u4f60\u4eec\u8fd9\u5e2e\u4eba\u662f\u6ee5\u7528\u2026\u2026 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087547\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Leviathann <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6211\u89c9\u5f97\u8fd8\u662f\u7528 npm \u505a\u8fd9\u4e2a\u6bd4\u8f83\u597d<br \/>npm \u8fde windows build tool \u90fd\u80fd\u88c5 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087548\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lc1450 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4f60 go\/rust \u7684\u4e8b\u627e\u6211 pypi \u4f5c\u751a? <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087549\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hxsf <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u8d70\u6b63\u7ecf\u5305\u7ba1\u7406\u554a\u3002<br \/>\u4e0d\u613f\u610f\u9002\u914d\u591a\u4e2a\u5305\u7ba1\u7406\u5668\uff0c\u5c31\u7559 2 \u4e2a\u811a\u672c\uff0c\u4e00\u4e2a bash \u4e00\u4e2a cmd \uff0c\u5e2e\u4ed6\u4eec\u4e0b\u8f7d\u653e\u5230\u5bf9\u5e94\u4f4d\u7f6e\u4e0d\u5c31\u884c\u4e86\uff1f<br \/>\u6298\u817e\u82b1\u91cc\u80e1\u54e8\u7684\uff0c\u672c\u6765\u4e00\u53e5 wget \u641e\u5b9a\u7684\u4e8b\u60c5\uff0c\u6211\u8fd8\u5f97\u5148\u786e\u5b9a\u6211\u7684 pip \u662f\u597d\u4f7f\u7684\uff1f\u4e07\u4e00\u6211\u662f\u6700\u5c0f\u5316\u5b89\u88c5\u7684 linux \uff0c\u8fd8\u5f97\u88c5\u4e2a python \uff1f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087550\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : keepeye <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4e22\u5230 oss \u6216\u8005 github release \uff0c\u7528 shell \u62c9\u53d6\u4e0d\u5c31\u884c\u4e86\u5417 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087551\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zjsxwc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u7ed9\u4e2a github release \u8fd9\u79cd\u4e0b\u8f7d\u5730\u5740\u4e0d\u5c31\u597d\u4e86\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087552\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : frostming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u770b\u8fd9\u91cc https:\/\/python-packaging.readthedocs.io\/en\/latest\/command-line-scripts.html#the-scripts-keyword-argument<br \/>\u4f60\u53ea\u9700\u5728 build \u671f\u95f4\u628a rust \u7f16\u8bd1\u7684\u4e8c\u8fdb\u5236\u653e\u5230\u5bf9\u5e94\u76ee\u5f55\u4e0b\uff0c\u5c31\u53ef\u4ee5\u6253\u8fdb wheel \u5305\u91cc<br \/>\u81f3\u4e8e\u600e\u4e48\u5728 build \u671f\u95f4\u505a\u4e8b\u60c5\uff0c\u4f60\u968f\u4fbf\u770b\u4e2a\u6bd4\u5982\u8bf4 Pytorch \u7684 setup.py \u5c31\u660e\u767d\u4e86 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087553\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kidonng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u7528 pypi \u7684\u4f8b\u5b50\u4e0d\u591a\uff0c\u7528 npm \u5206\u53d1\u4e8c\u8fdb\u5236\u7684\u5012\u662f\u4e0d\u5c11\u3002\u53ea\u8981\u6587\u4ef6\u4e0d\u5927\u6ca1\u5565\u6ee5\u7528\u95ee\u9898\uff0c\u5341\u51e0\u5146\u7684 typescript \u6bcf\u5929\u88ab\u62d6\u65e0\u6570\u6b21\u4e5f\u6ca1\u4eba\u8bf4\u554a\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087554\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : messense <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> https:\/\/github.com\/PyO3\/maturin <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087555\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sleeepyy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5982\u679c\u662f portable \u7a0b\u5e8f\u7684\u8bdd\uff0c\u4f60\u76f4\u63a5\u5bf9\u6bcf\u4e2a\u5e73\u53f0\u641e\u4e00\u4e2a link \u6765\u4e0b\u8f7d\u5bf9\u5e94\u7684\u53ef\u6267\u884c\u6587\u4ef6\u4e0d\u5c31\u597d\u4e86\uff1f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087556\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kidonng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u53e6\u5916 npm \u5206\u53d1\u7684\u8bdd\u8fd8\u53ef\u4ee5\u7528 npx \uff0c\u4f4e\u914d nix run \u4e86\u5c5e\u4e8e\u662f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087557\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : leavic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u7528 python \u628a\u5de5\u5177\u91cd\u5199\u4e00\u904d <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087558\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : deplivesb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u672c\u6765\u4e00\u4e2a wget \u80fd\u641e\u5b9a\u7684\u4e8b\u60c5\uff0c\u975e\u8981\u518d\u88c5\u4e00\u4e2a pip <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087559\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> setup \u51fd\u6570\u652f\u6301 scripts \u53c2\u6570 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7087560\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : O5oz6z3 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> pypi \u5728\u4e8c\u8fdb\u5236\u5206\u53d1\u4e0a\u5f2f\u9053\u8d85\u8f66 go \u4e86\u5c5e\u4e8e\u662f <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u4eba\u5c1d\u8bd5\u8fc7\u4f7f\u7528 pypi \u5206\u53d1\u4e8c\u8fdb&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554485"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=554485"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554485\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=554485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=554485"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=554485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}