Opened 15 years ago

Closed 9 years ago

#19233 closed enhancement (wontfix)

python site-packages .pth handling

Reported by: dweber@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jyrkiwahlstedt, blb@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), michaelld (Michael Dickens), petrrr
Port: python25 python26 python30

Description (last modified by blb@…)

I wonder if this EasyInstall tip could or should be applied to python2.x ports?

http://peak.telecommunity.com/DevCenter/EasyInstall#administrator-installation

Change History (10)

comment:1 Changed 15 years ago by blb@…

Cc: mww@… blb@… mcalhoun@… added
Description: modified (diff)
Port: python25 python26 python30 added; python2.5 python2.6 python2.x removed

Ignoring the homedir-based install stuff, setting up a system distutils.cfg could have value for software that makes assumptions (eg, prefix always contains lib/pythonXY); maybe something like

[install]
install_lib = ${frameworks_dir}/Python.framework/Versions/${python.branch}
install_scripts = ${frameworks_dir}/Python.framework/Versions/${python.branch}/bin/python${python.branch}

(replacing python.branch for each pythonXY port).

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:3 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Cc: jwa@… added; mww@… removed

comment:5 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:6 Changed 10 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… removed
Keywords: python removed
Version: 1.7.1

comment:7 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:8 Changed 9 years ago by petrrr

Is this ticket still relevant in some way and should Macports really bother about the user environment. I'd argue the correct approach would be to use virtualenv.

So can we close this?

comment:9 Changed 9 years ago by michaelld (Michael Dickens)

Given the lack of discussion on this ticket, and how old it is, I'm fine with just closing it, too.

comment:10 Changed 9 years ago by petrrr

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.