From 5781ce6df1181df2c5c3604276f3269cbf447cef Mon Sep 17 00:00:00 2001 From: Roman Lacko Date: Mon, 28 Oct 2013 10:07:30 +0100 Subject: Added new caption about installing PySide distribution into virtual Python environment to README --- README.rst | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/README.rst b/README.rst index 4055af0b9..8610fe400 100644 --- a/README.rst +++ b/README.rst @@ -135,6 +135,33 @@ Installing PySide distribution c:\> c:\Python27\Scripts\easy_install dist\PySide-1.2.1-py2.7-win32.egg +Installing PySide distribution into ``virtual`` Python environment +------------------------------------------------------------------ + +#. Install latest `virtualenv` distribution: + + :: + + c:\> c:\Python27\Scripts\easy_install virtualenv + +#. Use `virtualenv` to make a workspace: + + :: + + c:\> c:\Python27\Scripts\virtualenv --no-site-packages env + +#. Switch to the ``env`` directory: + + :: + + c:\> cd env + +#. Install the distribution with easy_install: + + :: + + c:\> Scripts\easy_install ..\dist\PySide-1.2.1-py2.7-win32.egg + Building PySide on a UNIX System (Ubuntu 12.04 LTS) =================================================== @@ -223,6 +250,39 @@ Installing PySide distribution $ sudo python2.7 pyside_postinstall.py -install +Installing PySide distribution into ``virtual`` Python environment +------------------------------------------------------------------ + +#. Install latest `virtualenv` distribution: + + :: + + $ sudo easy_install-2.7 virtualenv + +#. Use `virtualenv` to make a workspace: + + :: + + $ sudo virtualenv-2.7 --no-site-packages env + +#. Switch to the ``env`` directory: + + :: + + $ cd env + +#. Install the distribution with easy_install: + + :: + + $ bin/easy_install ../dist/PySide-1.2.1-py2.7.egg + +#. Run the post-install script to finish the package configuration: + + :: + + $ bin/python bin/pyside_postinstall.py -install + PySide Setup Script command line options ======================================== -- cgit v1.2.3