DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
yegle

开发环境用virtualenv,上传到线上前怎么将第三方lib放到代码目录?

  •  
  •   yegle · Oct 19, 2012 · 5931 views
    This topic created in 5020 days ago, the information mentioned may be changed or developed.
    最佳实践是什么呢?

    比如说当前代码在`src/`,当前virtualenv在`venv/`,需要将`venv/`下的lib挪到`src/`下。
    3 replies    1970-01-01 08:00:00 +08:00
    ratazzi
        1
    ratazzi  
       Oct 19, 2012   ❤️ 1
    以前就是直接放到根目录的,代码里不用改什么,现在的话果断抛弃 GAE,appfog 最起码还能支持 requirements.txt 呢,不过还是 linode 自由啊
    yegle
        2
    yegle  
    OP
       Oct 19, 2012
    @ratazzi 那就是基本上完全放弃requirements做版本管理?
    ratazzi
        3
    ratazzi  
       Oct 19, 2012
    @yegle 差不多,依赖不多的话也没什么关系,但是现在坚决不再使用不支持 requirements 之类的平台了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2887 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 04:59 · PVG 12:59 · LAX 21:59 · JFK 00:59
    ♥ Do have faith in what you're doing.