r/OpenPythonSCAD • u/naught-me • Dec 11 '24
editor support?
Is there a way to get auto-completions to work in my editor? Usually I'd just activate a VM and pip install a package, but you're... packaging your own Python?
3
Upvotes
View all comments
Show parent comment
2
u/naught-me Dec 11 '24 edited Dec 11 '24
pip installable packages are simple and straightforward compared to whatever you're doing, I'm sure. Here's a zip file that should give you basically everything you need (make sure to edit license and at least look at everything), but you need to do it yourself to be the package authority: https://0x0.st/Xh6l.zip . I renamed the .pyi file to .py, at Claude3.5's suggestion. I haven't actually tested any of this - was just a quick mock-up.
The installation was PythonSCAD... I posted here: https://www.reddit.com/r/OpenPythonSCAD/comments/1h9x38c/trouble_running_on_kubuntu_2404_qxcbintegration/
It'd be nice if I could point OpenSCAD to a Python executable, so that I could point it to a VM and install Python packages. What is it currently doing (Pointing to system python? Building its own python?)?