How to build the lib used for python project
I cannot make a lib for python, anyone can do this job?
what platform are you on? what did you try and what error message did you get?
on travis it looks like all linux build variants are working: https://travis-ci.org/github/aewallin/opencamlib
Win10 X64,Intel(R) Core(TM) i5-9300H CPU. I want to use opencamlib in my pythonOCC project, Python 3.6 or Python 3.7. Do you have any suggestions? Is possible to use the python lib which complied in linux systerm or must build on Win10, that I can use the opencamlib in python like this: import opencamlib, ...
------------------ 原始邮件 ------------------ 发件人: "aewallin/opencamlib" <[email protected]>; 发送时间: 2020年12月24日(星期四) 凌晨2:41 收件人: "aewallin/opencamlib"<[email protected]>; 抄送: "发帖人体"<[email protected]>;"Author"<[email protected]>; 主题: Re: [aewallin/opencamlib] How to build the lib used for python project (#89)
what platform are you on? what did you try and what error message did you get?
on travis it looks like all linux build variants are working: https://travis-ci.org/github/aewallin/opencamlib
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
You need to build the python module under Windows in order to import in a windows python environment.
One alternative to visual studio could be the cygwin environment (https://www.cygwin.com/) - which should allow building opencamlib in a very similar environment to native linux. If travis supports cygwin this would be a good addition to the automatic travis builds.
We now have pre-compiled OpenCAMLib libraries for Windows, macOS and Linux (Python V3.7 - v3.11), it should be as simple as:
pip install opencamlib