Re: [PyKDE] also about pyqt

2006-03-15 Thread Roberto Alsina
El Martes, 14 de Marzo de 2006 20:17, Hans-Peter Jansen escribió:
> Am Dienstag, 14. März 2006 17:49 schrieb Roberto Alsina:
> > 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).
>
> which can be easily circumvented via setup.cfg, btw:
> [install]
> prefix: /usr
>
> [bdist_rpm]
> release: 2
> requires: pkg >= 0.99

Cool, didn't know that :-)
   
-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`) [EMAIL PROTECTED]
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'   Buenos Aires - Argentina
Imminentizing the eschaton since 1971.

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] also about pyqt

2006-03-15 Thread Hans-Peter Jansen
Am Dienstag, 14. März 2006 17:49 schrieb Roberto Alsina:
> 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).

which can be easily circumvented via setup.cfg, btw:
[install]
prefix: /usr

[bdist_rpm]
release: 2
requires: pkg >= 0.99

Pete

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] also about pyqt

2006-03-14 Thread Andreas Pakulat
On 14.03.06 16:13:16, [EMAIL PROTECTED] wrote:
> 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

That has nothing to do with pyqt. I believe rpm has a manpage and also
you should be able to find some documentation on how to build rpm's with
your favorite search engine.

Another way would be to put the above files into a tar.gz wich the user
can extract somewhere and I guess he can then just run the hello file.

Andreas

-- 
You are sick, twisted and perverted.  I like that in a person.

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] also about pyqt

2006-03-14 Thread Roberto Alsina
> 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  )   `-. ().`-._.`)  [EMAIL PROTECTED]
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.' Buenos Aires - Argentina
Imminentizing the eschaton since 1971.



___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] also about pyqt

2006-03-14 Thread Diez B. Roggisch
> dist/hello
> dist/pcre.so
> dist/pwdmodule.so
> dist/strop.so"
>
> please explain how to build an rpm-package from that files

I've got debian, I don't need no RPM. 

The purpose of cx is to create a distribution-independent format, by bundling 
executables and libs and the like. It is _not_ there to create RPMs or other 
distribution-dependend installation files. Because that wouldn't make much 
sense - I for example can install the whole PyQt stuff with a simple

apt-get install pyqt

so I don't need a debian package containing all that stuff again. Instead, I 
need a debian package that has the proper dependencies set. The same is true 
for RPM-based systems.

And besides: this is the pyQt mailing list. While I doubt that someone will 
object you asking cxFreeze-questions here, you most likely will get better 
help on cxFreeze own mailing list.

DIez

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] also about pyqt

2006-03-14 Thread linux
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

and thanks for all
_
Votre mail gratuit avec http://lexpress.net

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde