Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 2.78 KB

README.markdown

File metadata and controls

65 lines (42 loc) · 2.78 KB

Python.sugar

The source for a work-in-progress Sugar for the Espresso text-editor for development with Python.

Note: If you're looking to download the sugar file to use without having to build from source, you want the other repository.

How to Use

Install any dependencies as outlined below. The instructions to install them should be available by following the links.

Once the dependencies are installed, you must now build the sugar from source in order to use it.

Download the source in .zip or .tgz format using the download button or clone this project to your computer using git:

git clone git://github.com/mthjones/python.sugar-source.git/ "PySugar"

Navigate to the folder containing what you just cloned and open the Python.xcodeproj file in Xcode.

cd PySugar
open Python.xcodeproj

Build the source (⌘B, or Build->Build), and navigate to the build/Debug directory.

cd build/Debug/

Now copy or link the file to Espresso's Sugars directory (note that you may need to make this directory first).

mkdir -p ~/Library/Application\ Support/Espresso/Sugars/

mv Python.sugar ~/Library/Application\ Support/Espresso/Sugars/
-- or --
ln -s Python.sugar ~/Library/Application\ Support/Espresso/Sugars/

Dependencies

More Information

This sugar uses the naming conventions as outlined by elliottcable in his Espresso Sugar Standard. Due to the fact that this standard is not set in stone and being followed by every sugar developer yet, certain themes/foams haven't been created to work with this naming convention. Therefore they may not highlight the syntax quite as nicely as one would like.

There are a few themes/foams that do work with the Espresso Sugar Standard, however.

Because of the unpredictable nature of Espresso sugars and themes/foams, this sugar may change often, so it is worth watching.

TODO

See the Todo List