V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
northisland
V2EX  ›  问与答

🐍里造出库给别人用, distutils setuptools 哪个更好?对 pip 支持更好?

  •  1
     
  •   northisland · Dec 25, 2018 · 1491 views
    This topic created in 2687 days ago, the information mentioned may be changed or developed.

    理不清头绪,求玩🐍玩的好的朋友指点。

    我造的库的目前只是 python 代码,暂时不考虑链接其他语言。有公共 git,代码可能他们会改,不考虑打包成 whl 文件之类。

    求教各位。求 python 库部署好的教程。

    ps. 我用 distutils.core.setup 安装的东东,可以安装,但用pip uninstall packagename无法卸载,提示

    It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
    

    无论用 setuptools 还是 distutils,貌似都得把 requrements.txt 里的东东再写一遍,也是我头疼的。

    1 replies    2018-12-25 21:15:10 +08:00
    Kilerd
        1
    Kilerd  
       Dec 25, 2018 via iPhone   ❤️ 1
    Twine
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1228 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 17:10 · PVG 01:10 · LAX 10:10 · JFK 13:10
    ♥ Do have faith in what you're doing.