1. arsooy
  2. pyside_aur

Commits

arsooy  committed df1dad8 Draft

Edited online

  • Participants
  • Parent commits 06a05ed
  • Branches default

Comments (0)

Files changed (1)

File Home.wiki

View file
  • Ignore whitespace
-== What is this? ==
+= What Is This? =
 
 This repository contains build files for Python 2 & Python 3 version of [[http://www.pyside.org/|PySide]] on [[http://www.archlinux.org/|ArchLinux]]. If you want to use PySide on ArchLinux without the messy work of manually installing it from the source and losing the benefits of pacman, probably this is what you need.
 
-== How to use it? ==
+
+= How To Use It =
 
 I assume you have [[http://www.archlinux.org/packages/?q=mercurial|mercurial]] and all the [[http://qt-project.org/wiki/Building_PySide_on_Linux#ee68e5b99222bbc29a480fcb0d1d6ee2|requirements to build PySide from source]].
 
-1. You need to get/clone it by typing:
+
+=== 1. Clone the repository ===
 {{{
-$ hg clone https://bitbucket.org/arsooy/pyside_aur
+  $ hg clone https://bitbucket.org/arsooy/pyside_aur
 }}}
 
-2. Build shiboken packages:
+=== 2. Build and install shiboken ===
 {{{
-$ cd pyside_aur/shiboken
-$ makepkg
+  $ cd pyside_aur/shiboken
+  $ makepkg
+}}}
+This might take a while.
+
+Installing shiboken packages:
+{{{
+  $ sudo pacman -U shiboken-common-$(VERSION_GOES_HERE).tar.xz
+
+
+to install shiboken built with python 3:
+  $ sudo pacman -U python-shiboken-$(VERSION_GOES_HERE).tar.xz
+
+
+to install shiboken built with python 2:
+  $ sudo pacman -U python2-shiboken-$(VERSION_GOES_HERE).tar.xz
 }}}
 
-3. Install shiboken packages:
+=== 3. Build and install pyside ===
 {{{
-$ sudo pacman -U shiboken-common-$(VERSION_GOES_HERE).tar.xz
+  $ cd ../pyside
+  $ makepkg
 }}}
-You probably just have to type "sudo pacman -U shiboken-co" and press Tab to use tab-completion.
-To install shiboken built with Python 2, run this:
+This is going to take a while, you can grab a cup of coffee or something.
+
+Installing pyside packages:
 {{{
-$ sudo pacman -U python2-shiboken-$(VERSION_GOES_HERE).tar.xz
-}}}
-To install shiboken built with Python 3, run this:
-{{{
-$ sudo pacman -U python-shiboken-$(VERSION_GOES_HERE).tar.xz
+  $ sudo pacman -U pyside-common-$(VERSION_GOES_HERE).tar.xz
+
+
+to install pyside built for python 3:
+  $ sudo pacman -U python-pyside-$(VERSION_GOES_HERE).tar.xz
+
+
+to install pyside built for python 2:
+  $ sudo pacman -U python2-pyside-$(VERSION_GOES_HERE).tar.xz
 }}}
 
-4. Build pyside:
+=== 4. Build and install pyside-tools ===
 {{{
-$ cd ../pyside
-$ makepkg
+  $ cd ../pyside-tools
+  $ makepkg
 }}}
-It should take a while, go grab coffee or something.
+This might take a while.
 
-5. Install pyside packages:
+Installing pyside-tools packages:
 {{{
-$ sudo pacman -U pyside-common-$(VERSION_GOES_HERE).tar.xz
-}}}
-To install PySide for Python 3, run this:
-{{{
-$ sudo pacman -U python-pyside-$(VERSION_GOES_HERE).tar.xz
-}}}
-To install PySide for Python 2, run this:
-{{{
-$ sudo pacman -U python2-pyside-$(VERSION_GOES_HERE).tar.xz
-}}}
+  $ sudo pacman -U pyside-tools-${VERSION_GOES_HERE}.tar.xz
 
-6. Build python-pyside-tools:
-{{{
-$ cd ../python-pyside-tools
-$ makepkg
-}}}
 
-7. Install python-pyside-tools:
-{{{
-$ sudo pacman -U python-pyside-tools-$(VERSION_GOES_HERE).tar.xz
+to install pyside-tools built for python 3:
+  $ sudo pacman -U python-pyside-tools-${VERSION_GOES_HERE}.tar.xz
+
+
+to install pyside-tools built for python 2:
+  $ sudo pacman -U python2-pyside-tools-${VERSION_GOES_HERE}.tar.xz
 }}}
 
 Congratulations! Now you have PySide for Python 3 on your system.
 
-== Testing your installation ==
+
+= Testing Your Installation =
 
 Okay try this:
 {{{
 
 You should get a small window with hello world message.
 
-== PySide tools ==
 
-You get the usual pyside-tools, only with '-python3' at the end of their name:
-* **pyside-lupdate-python3**
-* **pyside-rcc-python3** (NOTE: This binary by default generates resource for Python 3.x version)
-* **pyside-uic-python3**
+= About PySide Tools =
+
+Following ArchLinux's policy, the default is the Python 3 build. So if you install python-pyside-tools it will install a symbolic link named {{{pyside-rcc}}} and {{{pyside-uic}}} to binary that generates output for Python 3.
+To use their Python 2 variants just add '-python2', eg. {{{pyside-rcc-python2}}}.
+
+I'm sorry for any inconveniences.