推荐学习书目
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 · 4859 views
    This topic created in 2585 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   ·   Solana   ·   3040 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:00 · PVG 17:00 · LAX 02:00 · JFK 05:00
    ♥ Do have faith in what you're doing.