New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19233 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

python site-packages .pth handling

Reported by: dweber@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: python Cc: jwa@…, blb@…, mcalhoun@…, macsforever2000@…, michaelld@…
Port: python25 python26 python30

Description (last modified by blb@…) (diff)

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

Changed 3 years ago by blb@…

  • cc mww@…, blb@…, mcalhoun@… added
  • description modified (diff)
  • port changed from python2.5 python2.6 python2.x to python25 python26 python30

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).

Changed 3 years ago by macsforever2000@…

  • cc macsforever2000@… added

Cc Me!

Changed 3 years ago by anonymous

  • milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Changed 2 years ago by jmr@…

  • cc jwa@… added; mww@… removed

Changed 2 years ago by michaelld@…

  • cc michaelld@… added

Cc Me!

Note: See TracTickets for help on using tickets.