Sublime Forum

AAALoadFirstExtensions

#1

Hi all,

Anyone has a copy of AAALoadFirstExtensions package? The original repository seems to be locked down:
bitbucket.org/sublimator/aaaloadfirstextensions

Im trying to get lxml modules available for my plugin cross-platform.

Thanks,
A

0 Likes

#2

That contains a mighty old version of lxml which is now at version 3

Just download it from somewhere else?

0 Likes

#3

Im including lxml 3.0 libraries in my plugin, the problem is that there are two compiled libraries (in my case I compiled them for Linux 64bits) that make the plugin not cross-platform. Im new to python so I dont know how can I include compiled libraries for Windows and Mac and make sublime to load the appropiate ones.
I was expecting AAALoadFirstExtension to take care of this for me.
Any hint?

Thanks

0 Likes

#4

AAA* won’t do that for you

Research sys.path.

See this code here for example of how to add modules to python search path.

You need to take special care on windows when there’s unicode in module import path.

A few other functions you might want are sublime.platform() and sublime.arch()

0 Likes

#5

Thanks!

0 Likes