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

Python PIP 安装时 怎么对自定义头文件进行链接

  •  
  •   monetto · Dec 3, 2021 · 2012 views
    This topic created in 1765 days ago, the information mentioned may be changed or developed.

    PIP 在安装 A 时,需要编译安装,但是 A 又需要某些 .h , 这些 .h 在其他机器上有,本机没有,于是想把它复制到本机。但是 在执行 Clang 编译的时候,怎么才能让 Clang 知道这些 .h 的存在呢?

    1 replies  •  2021-12-03 19:34:02 +08:00
    frostming
        1
    frostming  
       Dec 3, 2021   ❤️ 2
    export CPPFLAGS='-I/path/to/include' LDFLAGS='-L/path/to/lib'
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2494 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 13:17 · PVG 21:17 · LAX 06:17 · JFK 09:17
    ♥ Do have faith in what you're doing.