[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] also about pyqt
From:       "Roberto Alsina" <ralsina () kde ! org>
Date:       2006-03-14 15:44:48
Message-ID: 33543.24.232.70.82.1142354971.squirrel () linux ! netline ! com ! ar
[Download RAW message or body]

> 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@kde.org
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
Imminentizing the eschaton since 1971.



_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic