开发者

How to make python module installer for windows?

How to make python module installer for windows?

I have python (2.7 if that makes difference) mo开发者_运维技巧dule which wrapped functionality around C-lib and would like to make an installer with build lib to make installation easy.


Using distutils, you can write a setup file that would compile your libs and install them

  • http://docs.python.org/library/distutils.html
  • http://docs.python.org/distutils/index.html#distutils-index

See this example setup.py which also compiles "c" lib for different platforms.

  • http://code.google.com/p/psutil/source/browse/trunk/setup.py
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜