[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Python-Dev] installing IDLE & other Tools (fwd)



Here is the current Python-Dev consensus about installing things
in tools. Is there a Python-specific policy against these, or
is that possible?


--
Moshe Zadka <moshez@math.huji.ac.il> -- 95855124
http://advogato.org/person/moshez

---------- Forwarded message ----------
Date: Tue, 14 Nov 2000 23:10:06 -0500
From: Guido van Rossum <guido@python.org>
To: jeremy@alum.mit.edu
Cc: Moshe Zadka <moshez@zadka.site.co.il>, python-dev@python.org
Subject: Re: [Python-Dev] installing IDLE & other Tools

>   GvR> Maybe we can extend this idea to Unix.  Concrete proposal:
>   GvR> install IDLE as
>   GvR> <prefix>/lib/python<version>/site-packages/Tools/idle/, and
>   GvR> place a symlink or 2-line bootstrap script in
>   GvR> <prefix>/bin/idle.
> 
> How about
> <prefix>/lib/python<version>/Tools/idle
> instead.  I suggest the change to support an until-now-implicit policy
> that anything in site-packages actually be a package.  If things in
> site-packages aren't supposed to be packages, it ought to be called
> something like site-tools <0.2 wink>.

Fine.

>   GvR> The introduction of the extra directory level "Tools" implies
>   GvR> that idle is not importable as a package from regular Python.
>   GvR> This is how I want it -- otherwise I could/would have made IDLE
>   GvR> a package in the Lib/lib-tk directory instead of a directory in
>   GvR> Tools.
> 
> I think the extra Tools directory still implies this, even if it isn't
> in site-packages.

Sure.

>   GvR> I'd gladly accept a contribution of a setup.py file that does
>   GvR> this for me.  (I looked at the distutils manual for a bit but
>   GvR> decided that I'd have to read it cover-to-cover to figure out
>   GvR> whether what I want is even possible...)
> 
> Is there a reason why IDLE has this peculiar installation process?
> Might there be a better way to do it now that we have distutils.  If
> there is, we could put it in PEP 42.

IDLE doesn't have a peculiar installation process, but it may not be
what distutils is currently good at.  IDLE is an application that
needs its files installed somewhere but not on the module search path
for other apps.  I don't know how to do that!

--Guido van Rossum (home page: http://www.python.org/~guido/)

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://www.python.org/mailman/listinfo/python-dev



Reply to: