-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hugo H wrote:
> I think that it would be interesting to add a dependency-management tool to
> the installation of Soya. For instance, a Python script would detect the
> package manager and run "apt-get install libode0c2 libode0c2-dev
> python-imaging ..." if it is a debian-like distro, "yum" on a fedora-like
> system, ...

This is a wrong solution - you should use the Soya package for your favorite
distro and such package will have the proper dependencies recorded and installed
correctly. Basing the detection on only the package manager or distro name will
get very quickly unmanageable - rpms are used by Suse, Mandriva, Fedora, RedHat,
..., similar for debs and each of the distributions has different names for the
required packages. This is a job for the downstream packagers, not for Soya
itself - such kludge will only inevitably clash with the packaging efforts by
the various distributions and cause bugs.

There is a good explanation here:
http://hari.literaryforums.org/2006/12/11/basic-tips-for-linux-programming/

Regards,

Jan




- --

Jan Ciger
GPG public key: http://www.keyserver.net/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFFm6drn11XseNj94gRAjuBAJ0ZdOe3UlBFacQvGh7Ff2ljSlHRYgCfVxSQ
UYf268kLccgYknfrytq6ZO4=
=naKm
-----END PGP SIGNATURE-----

_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user

Reply via email to