[Distutils] Code for inserting paths into system configuration?

Glyph Lefkowitz glyph at twistedmatrix.com
Tue Sep 13 17:00:05 EDT 2016


> On Sep 13, 2016, at 12:58 PM, Matthew Brett <matthew.brett at gmail.com> wrote:
> 
> Hi,
> 
> I was reflecting on the detail of putting pip user bin directories on
> the user's path, and was then thinking of making a tiny pip package
> like this:
> 
> pip install pip_user_config
> python -m pip_user_config
> 
> where the latter would cleverly insert the user bin directory into the
> user's configuration.
> 
> Does anyone know of any code to do something like that?

This is shell- and platform-specific.  This would be a great idea!  But it would be a challenging integration project.

-glyph




More information about the Distutils-SIG mailing list