Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Installer should create .pth files for Python installation(s)

#10

To relieve the user of the burden of setting PYTHONPATH (or equivalent) manually, the installer should create a mworks.pth file in all supported Python installations. The contents of the file would just be:

/Library/Application Support/MWorks/Scripting/Python

The installation directory would vary with Python distribution. Some examples:

  • system 2.6: /Library/Python/2.6/site-packages
  • python.org 2.6: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
  • EPD 6.1: /Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages

See Modifying Python’s Search Path for an explanation of .pth files.

Reported by Christopher Stawarz · April 20th, 2010 @ 06:46 PM

State: resolved
Milestone: 0.4.5
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
    Christopher Stawarz
    • Assigned user set to Christopher Stawarz
    • Milestone set to 0.4.5
    • State changed from new to resolved
    • Milestone order changed from 0 to 0

    Implemented in mw_core commit b6316669bbdc5772b45f22b63b384ea3d1b813d5 for the system Python 2.6. We can worry about other Pythons when/if we support them.

    July 7th, 2010 @ 03:37 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.