2011-06-05 16:41:22 -07:00
|
|
|
### DEPENDENCIES
|
|
|
|
|
---------------------------------
|
|
|
|
|
|
2011-07-04 00:11:42 -07:00
|
|
|
* Python >= 2.6 (< 3.x)
|
2011-06-05 16:41:22 -07:00
|
|
|
* PyQt4 >= 4.8.0
|
|
|
|
|
* Qt >= 4.7.0
|
|
|
|
|
|
2011-09-28 12:29:56 -07:00
|
|
|
* python-argparse >= 1.2.1 (Python 2.6 only)
|
2011-09-27 14:17:35 -07:00
|
|
|
* PIL (python-imaging-library) >= 1.1.7 (optional; for rendering to GIF)
|
2011-06-05 16:41:22 -07:00
|
|
|
|
|
|
|
|
### INSTALLING
|
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
|
|
Windows
|
|
|
|
|
|
2011-07-04 00:11:42 -07:00
|
|
|
> Download and install the required programs.
|
2011-06-05 16:41:22 -07:00
|
|
|
>
|
2011-07-04 00:11:42 -07:00
|
|
|
[Python](http://www.python.org/download/)
|
|
|
|
|
[PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download)
|
2011-09-27 14:17:35 -07:00
|
|
|
> Qt4 - PyQt4 comes packaged with the Qt runtime library(s)
|
|
|
|
|
>
|
|
|
|
|
[python-argparse](http://pypi.python.org/pypi/argparse/)
|
|
|
|
|
[PIL](http://www.pythonware.com/products/pil/)
|
2011-06-05 16:41:22 -07:00
|
|
|
|
|
|
|
|
Ubuntu
|
|
|
|
|
|
2011-09-27 14:17:35 -07:00
|
|
|
> Open a terminal window, and enter the command `sudo apt-get install python-qt4 python-imaging`
|
2011-06-05 16:41:22 -07:00
|
|
|
>
|
2011-07-04 00:11:42 -07:00
|
|
|
All the required packages should be automatically pulled in and installed.
|
|
|
|
|
|
|
|
|
|
PyPi
|
|
|
|
|
|
|
|
|
|
> You can also install the latest stable release from PyPi with `pip install pyphantomjs`
|
|
|
|
|
Afterward, you can invoke the program with `pyphantomjs`
|