Python & Linux ?
Eric Lee Green
eric at badtux.org
Tue May 22 17:02:17 CEST 2001
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 22 May 2001 10:59:43 GMT, Peter Moscatt <pmoscatt at bigpond.net.au> wrote:
>Yea, ya right.... it's difficult coming in from one enviroment (Win) to
>a new one which is totally different.
>So, if Linux programs aren't installable as such, what does the Software
>Manager do. I thought it got the RPM files, uncompressed them then
Correct. You can create installable RPM files from your Python programs.
See http://www.rpm.org for more information. Do note that it's some major
voodoo, but has some interesting benefits too, such as being able to set
up a 'depends' so that a user can't install your Python program without
having the Python interpreter already installed.
However, do note that doing this without also providing the classic Unix
'tarball' format for other Unix variants (and for Linux variants such as
Debian and Slackware which do not have 'rpm') will result major flamage.
If there's interest, I am the person who created the Red Hat 'rpm's
for the BRU-Pro product (R.I.P.), which was written largely in Python,
and can easily give some tips on how to build rpm's for Python
programs. Do note that rpm-building is an advanced topic, there's no
automated tools for doing it, creating the .spec files for doing it is
major voodoo, and as a beginner you're better off sticking with just
writing your programs and tarballing them if you want to distribute
them to other people.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the Python-list