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

Cypthon 编译出来的 pyd 怎么添加版本号?

  •  
  •   wyc9296 · Apr 19, 2019 · 5151 views
    This topic created in 2715 days ago, the information mentioned may be changed or developed.

    如题,setup.py 中添加 version = 3.1.1.1 没有用,.pyd 右键详细信息里的 fileversion 还是没有:

    
    from distutils.core import setup, Extension
    from Cython.Build import cythonize
    setup(name = 'xxx',
        ext_modules = cythonize("xxx.py"),
        version="3.3.0.0",
    )
    
    
    wyc9296
        2
    wyc9296  
    OP
       Apr 19, 2019 via Android
    @SoulMelody 非常感谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1072 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 18:02 · PVG 02:02 · LAX 11:02 · JFK 14:02
    ♥ Do have faith in what you're doing.