From 8cfdb0619ab0b5d75b44a495fe2880586ccc394a Mon Sep 17 00:00:00 2001 From: Roejames12 Date: Mon, 4 Jul 2011 00:11:42 -0700 Subject: [PATCH] Improved README and INSTALL files --- python/INSTALL.md | 19 ++++++++++++------- python/README.md | 14 ++++++++------ 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/python/INSTALL.md b/python/INSTALL.md index 8d0b779512..c9dc67903c 100644 --- a/python/INSTALL.md +++ b/python/INSTALL.md @@ -1,7 +1,7 @@ ### DEPENDENCIES --------------------------------- -* Python >= 2.6 +* Python >= 2.6 (< 3.x) * PyQt4 >= 4.8.0 * Qt >= 4.7.0 @@ -12,14 +12,19 @@ Windows -> Download and install the required programs here. +> Download and install the required programs. > - [Python](http://www.python.org/download/) - [PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download) - Qt4 - PyQt4 comes packaged with the Qt runtime library(s) + [Python](http://www.python.org/download/) + [PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download) + Qt4 - PyQt4 comes packaged with the Qt runtime library(s) Ubuntu -> Open a terminal window, and enter the command `sudo apt-get install python-qt4` +> Open a terminal window, and enter the command `sudo apt-get install python-qt4` > - All the required packages should be automatically pulled in and installed. + 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` diff --git a/python/README.md b/python/README.md index a976493599..d14ca8e680 100644 --- a/python/README.md +++ b/python/README.md @@ -24,6 +24,8 @@ If you want to contribute, please read the Contribution Guides3 You can find a list of downloadable plugins [here](http://dev.umaclan.com/projects/pyphantomjs/wiki/Plugins). +If you would like to know how to make plugins, check out this [article](http://dev.umaclan.com/projects/pyphantomjs/wiki/Writing_plugins). + 1: http://code.google.com/p/phantomjs/w/list 1: http://dev.umaclan.com/projects/pyphantomjs/wiki 2: http://dev.umaclan.com/projects/pyphantomjs/wiki/Api_reference @@ -44,13 +46,13 @@ ADDITIONAL INFO This program is a port of PhantomJS to Python/PyQt4 (thus, PyPhantomJS). 1. We try to make PyPhantomJS to be as compatible with PhantomJS as possible, - this means having the exact same features as they do. It happens to be fully - compatible, with the exception of some very small things. + this means having the exact same features as they do. It happens to be fully + compatible, with the exception of some very small things. 2. PyPhantomJS however, has a few differences as well: - * Some of the features work a little differently than PhantomJS. - In most of these cases, the features were only changed to improve their - reliability and performance, so they work more often/better, and break less. - * There may also be additional features present that aren't in PhantomJS. + * Some of the features work a little differently than PhantomJS. + In most of these cases, the features were only changed to improve their + reliability and performance, so they work more often/better, and break less. + * There may also be additional features present that aren't in PhantomJS. PhantomJS was written by Ariya Hidayat, and I'd like to give him a BIG thanks for all his work on PhantomJS! :)