Sublime Forum

Using Python shared object libraries in ST3 plugins

#1

Hi.

I need to use a Python shared object library in a ST3 plugin I am writing. I compiled the library using my local python version to make sure it works – and it does. But I am a bit at a loss as how to use this .so in ST3 which comes with its own Python implementation.

I can’t simply import the compiled version because my local python is 2.7, which won’t do for ST3. So… can I compile the library with ST3’s own python? How would I go about it?

All best,
Psych

0 Likes

#2

Can’t you just install Python 3.3 and compile with that?

0 Likes

#3

yes, will try that. i realize now that was the obvious answer. thanks.

0 Likes