Renato,

Further to my previous mail - I copied the files from my PC
/dat/sandbox/libpyside/bin/*
to
/usr/bin/
Just to recap, libpyside was generated with the current installation 
script for pyside-tools (v 0.2.2).
I also copied the module (with all its contents) from
/dat/libpyside/lib/pyghon2.6/site-packages/pysideuic
to
/usr/local/lib/python2.6/dist-packages/
so that pysideuic is in the same directory as PySide.

The pyside-uic script now works without any other tweaking.  I suspect 
that the intention of the PySide developers was for installation of 
pysideuic to be installed in a somewhat different location or maybe not 
- I simply do not know. My purpose was to get pyside-uic script to 
work. pyside-uic is  actually a Python script or a Python program that 
uses pysideuic as a module. It is now working without further tweaking 
of Python path.

As I develop my examples, I will report on on this mailing list in the 
first instance anything that I find interesting or with bugs and 
following, if it proves to be a bug, to bugzilla.

It seems to me that a simple method of adjusting 
CyMakeLists.txt would be:

1. Determine the path to the location of PySide module.
2. Following 1, determine the directory where PySide Tools module 
should be.
3. Install the pysideuic module in the directory of 2.
4. Install the scripts of libpyside/bin to /usr/bin/

That's just one old persons, one user's opinion.

Thanks for a big job and your helpful participation in the new users' 
problems.

With best wishes,

OldAl.

On Tuesday 02 November 2010 19:25:33 Algis Kabaila wrote:
> Renato,
> 
> Here is some further information about the current
> state of sandbox and system after installation
> of pyside-tools.  Partial directory listing follows:
> 
> a...@supremo:/dat/sandbox$ ls -l
> [...]
> -rw-r--r--  1 ak   ak    9549 2010-10-29 21:22 history.txt
> drwxr-xr-x  4 root root    96 2010-11-02 13:51 libpyside
> -rw-r--r--  1 ak   ak   17781 2010-10-30 08:38 
> messages_build_all_try3.txt
> [...]
> a...@supremo:/dat/sandbox$ ls -l libpyside
> total 0
> drwxr-xr-x 2 root root 144 2010-11-02 13:51 bin
> drwxr-xr-x 3 root root  80 2010-11-02 13:51 lib
> a...@supremo:/dat/sandbox$
> a...@supremo:/dat/sandbox$ ls -l libpyside/bin
> total 388
> -rwxr-xr-x 1 root root 291336 2010-11-02 13:51 pyside-lupdate
> -rwxr-xr-x 1 root root  95510 2010-11-02 13:51 pyside-rcc
> -rwxr-xr-x 1 root root   3517 2010-11-02 13:51 pyside-uic
> a...@supremo:/dat/sandbox$ 
> a...@supremo:/dat/sandbox$ ls -l libpyside/lib/python2.6/site-
> packages/pysideuic/
> total 60
> drwxr-xr-x 2 root root   216 2010-11-02 13:51 Compiler
> drwxr-xr-x 2 root root   144 2010-11-02 13:51 elementtree
> -rw-r--r-- 1 root root  1101 2010-11-02 13:50 exceptions.py
> -rw-r--r-- 1 root root  3972 2010-11-02 13:50 icon_cache.py
> -rw-r--r-- 1 root root  2350 2010-11-02 13:50 __init__.py
> -rw-r--r-- 1 root root  3889 2010-11-02 13:50 objcreator.py
> -rw-r--r-- 1 root root 12875 2010-11-02 13:50 properties.py
> -rw-r--r-- 1 root root 25833 2010-11-02 13:50 uiparser.py
> drwxr-xr-x 2 root root    80 2010-11-02 13:51 widget-plugins
> a...@supremo:/dat/sandbox$
> *************
> Apparently, pyside-tools were installed in /dat/sandbox/libpyside/,
> as the date of creation of the date of creation suggests.
> Two subdirectories of libpyside/ are bin and lib. The contents
> are listed in the above.
> 
> On my PC, /dat/ holds most of my data, including sandbox.
> 
> My / holds OS system directories, which makes installation
> of OS independent of data changes.
> Within my system directories also are  
> PyQt tools - pyuic4, pyrcc4 in /usr/bin/ directory. 
> That suggests that pyside-uic could also be in /usr/bin/. 
> 
> But where should site-packages be?  There is an empty 
> directory /usr/local/lib/python2.6/site-packages/ directory. 
> Perhaps I should move or copy pysideuic/ there?
> 
> I think I will take my chances and try that. Of course,
> I would be happier if CMakeLists.txt directed installation
> os pyside-utils to the system, rather than current
> sandbox/libpyside/.
> 
> I will report back the outcome after a bit of testing after
> the file copying.
> 
> Thank you for your help and patience.
> 
> Al.
> 
> -- 
> Algis Kabaila
> http://akabaila.pcug.org.au/
> 

-- 
Algis Kabaila
http://akabaila.pcug.org.au/
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to