Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install gp.recipe.phantomjs

How to install gp.recipe.phantomjs

  1. Download and install ActivePython
  2. Buy and install the Business Edition license from account.activestate.com
  3. Open Command Prompt
  4. Type pypm install gp.recipe.phantomjs

gp.recipe.phantomjs contains builds that are only available via PyPM when you have a current ActivePython Business Edition subscription.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
1.3
1.3 Available View build log
Linux (64-bit)
1.3
1.3 Available View build log
 
License
gpl

Buildout recipe to install phantomjs/casperjs

Supported options

The recipe supports the following options:

phantomjs-url
Url to download phantomjs
phantomjs-url-base
If phantomjs-url is not specified, this recipe downloads phantomjs from phantomjs-url-base. Defaults to https://phantomjs.googlecode.com/files/ Set this if you want to use your own mirror for 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
Contributors
  • Gael Pasgrimaud
  • Richard Barrell
Change history

1.9.1

  • Switch to PhantomJS 1.9.1
  • Add phantomjs-url-base option for using phantomjs mirrors.

1.9.0.2

Switch to PhantomJS 1.9.0

Add windows support [agroszer]

1.7.0.3

Python3 compat

1.7.0.4

Also support linux3

1.7.0.3

Use correct arch (x86_64/i686) for linux systems

1.7.0.2

Use correct octal format for chmod

1.7.0

  • Upgrade to casperjs 1.0.0-RC4 and PhantomJS 1.7.0
  • Fix executable permissions issues

1.3

First "stable" release

Download

Subscribe to package updates

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.