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
yoyicue
V2EX  ›  Python

python 版本管理 pythonbrew

  •  
  •   yoyicue ·
    yoyicue · 2012-02-20 11:55:12 +08:00 · 4883 次点击
    这是一个创建于 4448 天前的主题,其中的信息可能已经有所发展或是发生改变。
    类似 rvm, 和 virtualenv 配合使用, 灰常喜欢

    https://github.com/utahta/pythonbrew/
    https://github.com/pypa/virtualenv/
    4 条回复    1970-01-01 08:00:00 +08:00
    nouh
        1
    nouh  
       2012-02-20 14:39:31 +08:00
    感觉这个比virtualenv更强,可以管理python的版本,更接近RVM一些。有了这个还需要virtualenv么?
    yoyicue
        2
    yoyicue  
    OP
       2012-02-20 16:19:13 +08:00
    @nouh 需要呀 相同python版本的不同env 不同的app相互独立
    nouh
        3
    nouh  
       2012-02-20 18:09:11 +08:00
    @yoyicue 嗯,看了下它的说明,是直接整合了virtualenv进去,直接用以下命令操作即可:):
    pythonbrew venv init
    pythonbrew venv create proj
    pythonbrew venv list
    pythonbrew venv use proj
    pythonbrew venv delete proj
    mywaiting
        4
    mywaiting  
       2012-02-20 22:51:56 +08:00
    好东西,Python也有个像Rvm的东西了.........不过话说回来,多数时候,没有必要老切换版本吧.......
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5346 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:14 · PVG 17:14 · LAX 02:14 · JFK 05:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.