Source

fastdev-django / buildout.cfg

# prerequisites

# Django compressor requires lxml
# lxml requires libxslt-dev and python-dev installed in system
# sudo apt-get install libxslt-dev python-dev

# sudo apt-get install rubygems


[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

# do not use custom python packages installed in the system
include-site-packages = false

# hamlpy needs a patch that this subrepo has
parts =
	django
	cleanup
	sass
	yuic

project = project
eggs =
	django >= 1.4, <1.5
#	mock 						# useful for mocking some objects in unit tests
#	django-reversion == 1.5.1	# useful for keeping revisions of objects
	ipython >= 0.13 			# advanced interactive Python shell
	ipdb 						# IPython debugger
	django_extensions == 0.9 	# shell_plus
	django-annoying == 0.7.6 	# a set of decorators and middleware to simplify coding
	django-debug-toolbar 		# cool debugging
	werkzeug 					# WSGI debug post-mortem shell in the page
#	django-tastypie == 0.9.11 	# RESTful API for models
#	Pillow 						# replacement of PIL
#	pudb 						# console debugging IDE
	django_compressor == 1.2	# js/css compressor/compiler
	BeautifulSoup 				# required by compressor
	html5lib 					# required by compressor
	lxml 						# required by compressor
#	versiontools 				# required by reversion
	hamlpy 						# HAML templates
	djaml 						# hamlpy loader


[sass]
project = ${buildout:project}
recipe = rubygemsrecipe
gems =
	sass


[coffee]
recipe = gp.recipe.node
npms =
    coffee-script
scripts =
	coffee
	npm


[pyflakes]
recipe = zc.recipe.egg
scripts =
	pyflakes
eggs =
	pyflakes
entry-points = pyflakes=pkg_resources:run_script
arguments = 'pyflakes', 'pyflakes'


[pep8]
recipe = zc.recipe.egg
scripts =
	pep8
eggs =
	pep8
entry-points = pep8check=pep8:_main


[django]
recipe = djangorecipe
project = ${buildout:project}
settings = dev
wsgi = true
eggs = ${buildout:eggs}


[prod]
recipe = djangorecipe
project = ${buildout:project}
settings = prod
wsgi = true
eggs = ${buildout:eggs}


[cleanup]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
	find ${buildout:project} -name '*.py[co]' -delete


[yuic]
# YUI compressor. Minifies JS files.
recipe = zc.recipe.egg
eggs = yuicompressor
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.