JazzCore / ctrlp-cmatcher

CtrlP C matching extension
BSD 2-Clause "Simplified" License
207 stars 22 forks source link

About python extension path #2

Closed markwu closed 11 years ago

markwu commented 11 years ago

Is that possible output the compiled fuzzycomt.so inside ./vim/bundle/ctrlp-cmatcher/python instead of /usr/local/lib/python2.7/dist-packages?

I like the .so file stay under its own plugin folder like yourcompleteme, command-t or sparkup does.

JazzCore commented 11 years ago

Yes, it is possible. There is no automated way for this at the moment, i'll put it in TODO. For now you can run python setup.py build and then copy the .so file from the build dir to the ctrlp-cmatcher/autoload dir.

markwu commented 11 years ago

Wow, you response so quickly. Thanks!! I will try it.

BTW, I test ctrlp-cmatcher whole night, it works great. I think It is the must have extension for ctrlp lover.

markwu commented 11 years ago

I tested, it works greate. Thanks for this tip.

markwu commented 11 years ago

Weird, it is not working.

I try to use python interpreter to import fuzzycomt inside autoload folder, it works. But, the ctrlp-cmatcher behaviour works like not import fuzzycomt.

JazzCore commented 11 years ago

Strange. I'll look into this later, thanks for reporting. By the way, have you uninstalled it from dist-packages folder?

markwu commented 11 years ago

Yes, I delete all all related stuff from /usr/local/lib/python2.7/dist-packages , includes

fuzzycomt-0.1.egg-info
fuzzycomt.so 
JazzCore commented 11 years ago

Should be fixed now, try it yourself

markwu commented 11 years ago

Yes, It works now! Thanks for your fix.

JazzCore commented 11 years ago

Okay, you can try the updated installation steps, should be more easier now