推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
MyFaith
V2EX  ›  Python

Python 如何编写 setup.py?

  •  
  •   MyFaith ·
    MyFaith · Jul 7, 2016 · 3960 views
    This topic created in 3742 days ago, the information mentioned may be changed or developed.

    1.上传至 pip 后,可以使用 from x import x 或者 import x

    2.Python 在编写 setup.py 时,如何才能把文件生成到 bin 目录下 使用 pip instal xxx 安装后,可以直接使用 xxx 命令执行

    3 replies  •  2016-07-07 13:02:17 +08:00
    lovepython
        1
    lovepython  
       Jul 7, 2016
    MyFaith
        3
    MyFaith  
    OP
       Jul 7, 2016
    @lovepython
    @whiler
    谢谢, bin 那个问题已经解决了,但是当我安装好包之后, import 的时候 No module name 。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2320 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:49 · PVG 17:49 · LAX 02:49 · JFK 05:49
    ♥ Do have faith in what you're doing.