diff options
author | Roman Lacko <backup.rlacko@gmail.com> | 2013-10-28 10:07:30 +0100 |
---|---|---|
committer | Roman Lacko <backup.rlacko@gmail.com> | 2013-10-28 10:07:30 +0100 |
commit | 5781ce6df1181df2c5c3604276f3269cbf447cef (patch) | |
tree | a53857b2b6d2079fdff87ab1e25a61b2afd5ddf8 | |
parent | c7c59545cba2a35a7d5a129af8a919e043e54591 (diff) |
Added new caption about installing PySide distribution into virtual Python environment to README
-rw-r--r-- | README.rst | 60 |
1 files changed, 60 insertions, 0 deletions
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 ======================================== |