-
Notifications
You must be signed in to change notification settings - Fork 56
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.txt
and 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.txt
the path where you installed python and theScript
orbin
folder, 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 + p
or go toST Menu > Preferences > Package Control
and select the optionPackage Control: Install Package
. WriteDeviot
and 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 Repository
and paste https://rawgit.com/gepd/Deviot/master/repository.json -
Select
Preferences > Package Package Control > Upgrade Package
and 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 Repository
and select the repository.json corresponding to deviot -
Select
Preferences > Package Package Control > Upgrade Package