V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 3653 views
    This topic created in 2167 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  
    PRO
       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   ·   Solana   ·   3180 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:29 · PVG 22:29 · LAX 07:29 · JFK 10:29
    ♥ Do have faith in what you're doing.