推荐学习书目
› 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
hedaors
V2EX  ›  Python

像 Dropbox 這樣的 python 程序是如何打包的?

  •  
  •   hedaors · Oct 4, 2012 · 5542 views
    This topic created in 5108 days ago, the information mentioned may be changed or developed.
    好像是直接帶了一套 python 環境?
    6 replies  •  1970-01-01 08:00:00 +08:00
    aisk
        1
    aisk  
       Oct 5, 2012
    sublime在win和linux下都是自己带了个Python解释器
    atempcode
        2
    atempcode  
       Oct 5, 2012
    dropbox 应该是用 python to exe 这一类的工具打包的. 可以 google 一下 cx_freeze.
    ratazzi
        3
    ratazzi  
    PRO
       Oct 5, 2012
    pyinstaller, py2app 一类的,但是 dropbox 不知道用的啥,也有可能是旧版的 Xcode,以前是支持 python 的
    ivanlw
        4
    ivanlw  
       Oct 5, 2012
    @ratazzi 现在好像不支持了吧…有没有什么典故?版权?
    ratazzi
        5
    ratazzi  
    PRO
       Oct 5, 2012
    @ivanlw 现在确实不支持,stackoverflow 上貌似有办法支持 xcode4,但是太折腾,典故什么的就真不知道了
    Matrix24
        6
    Matrix24  
       Dec 30, 2013
    看到知乎上有类似的解答
    用到过的 Python 技术包括:

    Twisted:基于事件的网络框架,他们用这个做了服务器端推送通知服务
    PyObjC:OS X 客户端系统调用
    PyWin32:Windows 客户端系统调用
    WxPython:跨平台客户端界面
    ctypes:外部功能调用,用来调用系统功能(如 Windows 的 DLL)
    py2exe:Windows 平台打包工具
    py2app:OS X 平台打包工具


    PyCon 2011 上 Dropbox 的 Rian Hunter 对此有过介绍


    http://www.zhihu.com/question/19550782?q=Dropbox
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4654 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:49 · PVG 16:49 · LAX 01:49 · JFK 04:49
    ♥ Do have faith in what you're doing.