V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2012-10-04 22:46:32 +08:00 · 4237 次点击
    这是一个创建于 4223 天前的主题,其中的信息可能已经有所发展或是发生改变。
    好像是直接帶了一套 python 環境?
    6 条回复    1970-01-01 08:00:00 +08:00
    aisk
        1
    aisk  
       2012-10-05 08:36:23 +08:00
    sublime在win和linux下都是自己带了个Python解释器
    atempcode
        2
    atempcode  
       2012-10-05 09:28:39 +08:00
    dropbox 应该是用 python to exe 这一类的工具打包的. 可以 google 一下 cx_freeze.
    ratazzi
        3
    ratazzi  
       2012-10-05 10:50:30 +08:00
    pyinstaller, py2app 一类的,但是 dropbox 不知道用的啥,也有可能是旧版的 Xcode,以前是支持 python 的
    ivanlw
        4
    ivanlw  
       2012-10-05 11:48:30 +08:00
    @ratazzi 现在好像不支持了吧…有没有什么典故?版权?
    ratazzi
        5
    ratazzi  
       2012-10-05 13:13:51 +08:00
    @ivanlw 现在确实不支持,stackoverflow 上貌似有办法支持 xcode4,但是太折腾,典故什么的就真不知道了
    Matrix24
        6
    Matrix24  
       2013-12-30 15:38:43 +08:00
    看到知乎上有类似的解答
    用到过的 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
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5364 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:21 · PVG 15:21 · LAX 00:21 · JFK 03:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.