[Patches] [ python-Patches-415227 ] Solaris pkgtool bdist command

noreply@sourceforge.net noreply@sourceforge.net
Sun, 24 Feb 2002 10:25:11 -0800


Patches item #415227, was opened at 2001-04-10 12:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=415227&group_id=5470

Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Alexander (mwa)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Solaris pkgtool bdist command

Initial Comment:
The bdist_pktool command is based on bdist_packager and
provides support for the Solaris
pkgadd and pkgrm commands. In most cases, no additional
options beyond the PEP 241 options are required. An 
exception is if the package name is >9 characters, a
--pkg-abrev option is required because that's all
pkgtool
will handle. It makes listing the packages on the
system
a pain, but the actual package files produced do match
name-version-revision-pyvers.pkg format. By default,
bdist_pkgtool provides request, postinstall, preremove,
and postremove scripts that will properly relocate
modules to the site-packages directory and recompile
all .py modules on the target machine. An author
can provide a custom request script and either have
it auto-relocate by merging the scripts, or inhibit
auto-relocation with --no-autorelocate.

----------------------------------------------------------------------

>Comment By: M.-A. Lemburg (lemburg)
Date: 2002-02-24 10:25

Message:
Logged In: YES 
user_id=38388

The code looks OK, but I can't test it... I'm sure the
user base will, though, once it's in CVS.

Please also write up some documentation which we can
add to the distutils TeX docs and add them to the
patch. I will then add it to CVS.

Thanks.

----------------------------------------------------------------------

Comment By: M.-A. Lemburg (lemburg)
Date: 2001-11-20 06:00

Message:
Logged In: YES 
user_id=38388

Hijacking this patch to take load off of Andrew. This patch should be reviewed after the Python 2.2 feature freeze.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-06-06 22:39

Message:
Logged In: YES 
user_id=21627

Should there also be some Makefile machinery to create a 
Solaris package for python itself? There is a 1.6a2 
package on sunfreeware; it would surely help if building 
Solaris packages was supported by the Python core itself.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=415227&group_id=5470