Difference between revisions of "Using Selenium"

From PeformIQ Upgrade
Jump to navigation Jump to search
Line 25: Line 25:
The virtualenvwrapper extension to virtualenv streamlines working with multiple environments and is useful for partitioning development and test environments.
The virtualenvwrapper extension to virtualenv streamlines working with multiple environments and is useful for partitioning development and test environments.


<pre>
<pre>
$ easy_install pip
$ easy_install pip
$ easy_install virtualenv
$ easy_install virtualenv

Revision as of 16:58, 25 July 2011

Some Useful References

Getting Running on Cygwin

See http://atbrox.com/2009/09/21/how-to-get-pipvirtualenvfabric-working-on-cygwin/

1. Install Cygwin 2. Install paramiko 3. Load setuptools and other utility packages 4. xxx

Installing setuptools

Setuptools are required for installing the rest of the required Python packages. Instructions for Cygwin are found on the setuptools pages—but just enter the following and you’ll be all set:

$ wget http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9-py2.5.egg
$ sh setuptools-0.6c9-py2.5.egg

Install pip and virtualenv

Install pip, virtualenv and virtualenvwrapper

The virtualenvwrapper extension to virtualenv streamlines working with multiple environments and is useful for partitioning development and test environments.

$ easy_install pip
$ easy_install virtualenv
$ easy_install virtualenvwrapper

Finally create a working directory for your virtual Python environments.

	
$ mkdir ~/.virtualenvs

When working with an environment named myenv, all packages will be installed in ~/.virtualenvs/myenv.