Skip to content

Commit aa77557

Browse files
committed
Changed development instructions to use a virtualenv
1 parent af09d83 commit aa77557

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/index.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,22 @@ Or alternatively, download the package from pypi_, extract and execute::
4343
python setup.py install
4444

4545
.. _pypi: http://pypi.python.org/pypi/pytest-qt/
46-
.. _`pytest.ini`: http://pytest.org/latest/customize.html
4746

4847
Both methods will automatically register it for usage in ``py.test``.
4948

50-
Alternatively, to develop pytest-qt itself, it's possible to grab it's sources through ``git clone https://github.com/nicoddemus/pytest-qt.git``,
51-
add it to the PYTHONPATH and enable it by adding ``-p pytestqt.plugin``
52-
to the command line (ideally, add it to your `pytest.ini`_).
49+
Development
50+
-----------
5351

52+
If you intend to develop ``pytest-qt`` itself, use virtualenv_ to
53+
activate a new fresh environment and execute::
54+
55+
git clone https://github.com/nicoddemus/pytest-qt.git
56+
cd pytest-qt
57+
python setup.py develop
58+
pip install pyside
59+
60+
61+
.. _virtualenv: http://virtualenv.readthedocs.org/
5462

5563
Quick Tutorial
5664
==============

0 commit comments

Comments
 (0)