I’d be interested to do some transliteration in a plugin I’m developing and this seems to be a perfect tool for the task. Simce I’m very unexperienced in python, would someone be so kind as to outline the steps I’d have to take to be able to use it in my plugin?
How do we add third party python modules to my in-developement plugin
addons_zz
#2
You can create a Package Control dependency https://packagecontrol.io/docs/dependencies and submit it with your plugin on package control.
- Open your
Packagesfolder (menuPreferences -> Browse Packages) - Open a command line on the folder
Packages - Assure you have
gitinstalled, and run the commands:git clone https://github.com/avian2/unidecodecd unidecodemkdir allgit mv unidecode all/unidecodeecho 10 > .sublime-dependencygit add .sublime-dependencygit commit -m "Created a Package Control dependency."
- Assure you have
Package Controlinstalled - Open the Command Palette and run the command
Install Local Dependency - Now on your plugin, just follow the instructions on: https://github.com/avian2/unidecode#module-content
0 Likes