[PyKDE] also about pyqt

Roberto Alsina ralsina at kde.org
Tue Mar 14 16:49:31 GMT 2006


> i have downloaded cx-freeze and i have found that lines in
> the readme file
>
> "Assume that you have a script called "hello.py"
> containing the line
> "print 'Hello World!'". To freeze this script you would
> issue the following
> commands:
>
> FreezePython --install-dir dist hello.py
>
> This would create the following files (the exact number
> and names of files
> will depend on the platform and version of Python that is
> used):
>
> dist/hello
> dist/pcre.so
> dist/pwdmodule.so
> dist/strop.so"
>
> please explain how to build an rpm-package from that files

I don't want to be the bad guy here, but explaining how to build a RPM is
hardly doable via email.

There is a lot of good info at www.rpm.org, even if some of it is a bit
outdated. But be ready to work a fair amount to get that working.

And remember that RPMs will not even work on some distros.

Also, some shortcuts to create rpms:

checkinstall (lost the URL, google it)

http://joerghaeger.de/webCDwriter/download/tar2rpm.sh (have not even tried
it)

If the user has PyQt installed by other means (for example for Red
Hat/Fedora/Centos users, kde-redhat.sf.net), distutils can create fairly
simple RPMs (they have no dependencies listed, so they are technically
broken, though).

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina at kde.org
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
Imminentizing the eschaton since 1971.






More information about the PyQt mailing list