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

有些库的 _init__.py 中 __version__ = '1.1.0-SNAPSHOT' ,这个 SNAPSHOT 是指什么意思呢?

  •  
  •   miniyao · May 21, 2020 · 3965 views
    This topic created in 2318 days ago, the information mentioned may be changed or developed.
    一些库的 _init__.py 中 把版本号中,加 SNAPSHOT 是指什么意思?暗示这个库版本不再更新?还是指什么?
    4 replies  •  2020-05-22 15:20:07 +08:00
    SingeeKing
        1
    SingeeKing  
       May 21, 2020   ❤️ 1
    还没做完
    julyclyde
        2
    julyclyde  
       May 22, 2020
    感觉不像 python 的倒是很像 Java 的
    miniyao
        3
    miniyao  
    OP
       May 22, 2020
    @julyclyde 对的,是 java 工程师写的 py sdk
    julyclyde
        4
    julyclyde  
       May 22, 2020
    @miniyao java 里面,-SNAPSHOT 后缀的版本号,在 maven 里面代表“禁止缓存,每次都重新下载”的意思
    python 里没听说过类似的功能
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2580 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 01:22 · PVG 09:22 · LAX 18:22 · JFK 21:22
    ♥ Do have faith in what you're doing.