Commits

Dmitri Lebedev committed 86102e2

fixed yuic & djaml

  • Participants
  • Parent commits 59ba360

Comments (0)

Files changed (4)

 project/static/css/oocss = [git]git://github.com/stubbornella/oocss.git
+djaml = [git]git@github.com:culebron/djaml.git
+810b7c7e50fe57d9619a7ea439f4b670dc327d9f djaml
 6e481bc18fea7cae253977ad6b1d9a5bf85a6d24 project/static/css/oocss

File buildout.cfg

 [buildout]
 # add local subrepos that have setup.py to develop eggs in 'develop =' section.
 # gp.recipe.node works only from the repo, not from pypi
+develop = djaml
 
 # hamlpy needs a patch that this subrepo has
 parts =
 	django
 	cleanup
 	sass
-# add yuic to parts to turn YUI compressor on
+	yuic
 
 versions = versions
 project = project
 
+
 [sass]
+project = ${buildout:project}
 recipe = rubygemsrecipe
 gems =
 	sass
 
-project = ${buildout:project}
-
 
 [coffee]
 recipe = gp.recipe.node
 
 
 [yuic]
-recipe = hexagonit.recipe.download
-version = 2.4.7
-md5sum = 885657c68ed617737e730b4c2ce52dda
-url = http://yui.zenfs.com/releases/yuicompressor/yuicompressor-${yuic:version}.zip
-download-only = true
+# YUI compressor for CSS & JS files. Set COMPRESS_ENABLED = True in settings.py to turn it on
+recipe = zc.recipe.egg
+eggs = yuicompressor

File project/settings.py

 COMPRESS_ENABLED = False
 COMPRESS_JS_FILTERS = ['compressor.filters.yui.YUIJSFilter']
 COMPRESS_CSS_FILTERS = ['compressor.filters.yui.YUICSSFilter']
-COMPRESS_YUI_BINARY = os.path.join(PROJECT_ROOT, '..', 'parts', 'yuic', 'yuicompressor-2.4.7.jar')
+COMPRESS_YUI_BINARY = 'bin/yuicompressor'