Using Selenium

From PeformIQ Upgrade
Jump to navigation Jump to search

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. Install pip and virtual environment utility packages

Cygwin Prerequesistes

Install the following modules:

  • python
  • python-paramiko
  • python-crypto
  • gcc (3.4.4-999)
  • wget
  • openssh

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.