-
Notifications
You must be signed in to change notification settings - Fork 55
Setup
Before start to install Deviot make sure you have installed Python 2.x.
For windows you can download the installer from this link.
In UNIX environments python is already installed (in OS X since version 10.8)
Python in a custom Path
If you installed Python in a custom path and Deviot is not recognizing it, follow this instructions:
-
Create a new file called
python.txtand save it inPackages/User/Deviot. (To know where is the Packages folder go toSublime Text menu > Preferences > Browse Packages...) -
Paste inside of the file
python.txtthe path where you installed python and theScriptorbinfolder, each in one line. (depending of your O.S).
Your file should looks like this:
E:\custompath\Python27
E:\custompath\Python27\Scripts
Or
/usr/custompath/bin
After restart Sublime Text, Deviot should recognize your python installation.
To install Deviot from package control, first you need to install package control. If you already have installed, go to step 3
- Go to https://packagecontrol.io/installation and copy the code in the grey box
- Paste the code in the Sublime Text Console (
View > Console) An input box will appear in the bottom of ST. When it finish to install will ask you to restart, in some cases more than one time. - Press
ctrl + shift + por go toST Menu > Preferences > Package Controland select the optionPackage Control: Install Package. WriteDeviotand waits until it's installed.
Deviot will show a window with the state of the installation.
- Download Deviot from the master branch.
- In Sublime Text go to
Preferences > Browse Packages...and unzip the downloaded file there. - Restart Sublime Text and waits until the plugin is installed.
To install the deviot developer branch follow this instructions
-
Go to
Preferences > Package Package Control > Add Repositoryand paste https://rawgit.com/gepd/Deviot/master/repository.json -
Select
Preferences > Package Package Control > Upgrade Packageand Deviot will be updated.
If Deviot is not upgrading after the previous command try using
Package Control: Upgrade/Override All Packages
- Restart Sublime Text each time a change is pushed.
Back to the master branch
-
Go to
Preferences > Package Package Control > Remove Repositoryand select the repository.json corresponding to deviot -
Select
Preferences > Package Package Control > Upgrade Package