/gp.recipe.phantomjs

zc.buildout recipe to install phantomjs/casperjs

Primary LanguagePython

Buildout recipe to install phantomjs/casperjs

Supported options

The recipe supports the following options:

phantomjs-url

Url to download phantomjs

phantomjs-version

Try to retreive phantomjs url from version

casperjs-url

Url to download casperjs

Example usage

We'll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = casperjs
...
... [casperjs]
... recipe = gp.recipe.phantomjs
... """)

>>> system('buildout')

>>> ls('bin')
-  buildout
-  casperjs
-  phantomjs