[Distutils] RPMs should include Python version in filename
s-thapa-11@alumni.uchicago.edu
s-thapa-11@alumni.uchicago.edu
Sat Mar 31 01:13:01 2001
--5/uDoXvLw7AC5HRs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Mar 31, 2001 at 01:06:48AM +0200, M.-A. Lemburg wrote:
> The reason is simple: the Python API has changed between
> versions and also the path used by the files inside the
> packages use the major.minor version number.
>=20
> The same problem most probably also occurrs for bdist_dumb
> archives and most other binary distribution formats.
>=20
With rpm and probably other package formats like deb, you can
have a requires that indicates the version of python needed=20
for installation. E.g. if you place Requires: BeOpen-Python =3D 2.0=20
in the spec file, the resulting rpm won't install on systems=20
without python 2.0 user intervention. Similarly a BuildRequires=20
tag allows for specifying dependencies in the build process although
I don't think it is very applicable to bdist.
--=20
------------------------------------------------------------------
Suchandra S. Thapa=20
s-thapa-11@alumni.uchicago.edu
------------------------------------------------------------------
--5/uDoXvLw7AC5HRs
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6xXgK0hoo1RInvaIRAkJJAKDJYDgXv2zJplnTT8kk/OaauHlQagCgubQq
rPJEEqXBZO8g62HcyxfW4+U=
=NXu1
-----END PGP SIGNATURE-----
--5/uDoXvLw7AC5HRs--