Running pip from within FreeCAD

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Running pip from within FreeCAD

Post by chennes »

sgrogan wrote: Sat Jan 15, 2022 6:19 pm
chennes wrote: Sat Jan 15, 2022 4:43 pm I think numpy is optional, in that it's only required by some workbenches, so if you compile without them it may be missing.
What is a good add-on to test? One that has a good requirements.txt file.
I've been using Inventor and SteelColumn as my two main test cases, since they both have dependencies that my system didn't have by default.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Running pip from within FreeCAD

Post by chennes »

user1234 wrote: Sat Jan 15, 2022 8:37 pm Whitelisted or not, FreeCAD must ask if if you want to run pip install.
It does: please see https://github.com/FreeCAD/FreeCAD/pull/5376
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
user1234
Veteran
Posts: 3324
Joined: Mon Jul 11, 2016 5:08 pm

Re: Running pip from within FreeCAD

Post by user1234 »

chennes wrote: Sun Jan 16, 2022 1:32 am It does: please see https://github.com/FreeCAD/FreeCAD/pull/5376
Oh, i did not know there was an other discussion about that.

Thanks for clarifying! Thanks for working on it!

Greetings
user1234
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Running pip from within FreeCAD

Post by chennes »

ebrahim raeyat wrote: Sat Jan 15, 2022 11:15 am Here is my wishlist :
  • comtypes: for communicating with windows software
I'm a little leery of adding comtypes: it appears to be essentially without a maintainer right now, and is having some Py2-Py3 conversion difficulties in recent versions of Python. Have you considered another option?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
ebrahim raeyat
Posts: 619
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: Running pip from within FreeCAD

Post by ebrahim raeyat »

chennes wrote: Wed Jan 19, 2022 3:26 pm
ebrahim raeyat wrote: Sat Jan 15, 2022 11:15 am Here is my wishlist :
  • comtypes: for communicating with windows software
I'm a little leery of adding comtypes: it appears to be essentially without a maintainer right now, and is having some Py2-Py3 conversion difficulties in recent versions of Python. Have you considered another option?
I extensively use this package for communicating with CSI ETABS Software in my etabs api module. I have no issue with it:

https://github.com/ebrahimraeyat/etabs_api

I don't think there is an options that works as well as comtypes. Thanks
Post Reply