Skip to content
gepd edited this page Oct 19, 2017 · 13 revisions

Deviot Setup

Python

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:

  1. Create a new file called python.txt and save it in Packages/User/Deviot. (To know where is the Packages folder go to Sublime Text menu > Preferences > Browse Packages...)

  2. Paste inside of the filepython.txt the path where you installed python and the Script or bin 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.

Package Control

To install Deviot from package control, first you need to install package control. If you already have installed, go to step 3

  1. Go to https://packagecontrol.io/installation and copy the code in the grey box
  2. 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.
  3. Press ctrl + shift + p or go to ST Menu > Preferences > Package Control and select the option Package Control: Install Package. Write Deviot and waits until it's installed.

Deviot will show a window with the state of the installation.

Manually

  1. Download Deviot from the master branch.
  2. In Sublime Text go to Preferences > Browse Packages... and unzip the downloaded file there.
  3. Restart Sublime Text and waits until the plugin is installed.

Developer

To install the deviot developer branch follow this instructions

  1. Go to Preferences > Package Package Control > Add Repository and paste https://rawgit.com/gepd/Deviot/master/repository.json

  2. 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

  1. Restart Sublime Text each time a change is pushed.

Back to the master branch

  1. Go to Preferences > Package Package Control > Remove Repository and select the repository.json corresponding to deviot

  2. Select Preferences > Package Package Control > Upgrade Package