How to add header files in setup.py so dependencies are observed when building the extensions?

前端 未结 1 1187
抹茶落季
抹茶落季 2020-12-11 18:25

The question seems long, but it all comes down to how I can add header files to specific extension specification.

The motivation is that if I change one of the heade

1条回答
  •  旧巷少年郎
    2020-12-11 19:06

    Take a look at the depends option on the Extension class. I've not used it myself, but your exact example is listed as a use-case.

    0 讨论(0)
提交回复
热议问题