/Mac/Resources/app/Resources/English.lproj/Documentation/packman.html

http://unladen-swallow.googlecode.com/ · HTML · 64 lines · 57 code · 7 blank · 0 comment · 0 complexity · c516bb01aee95785ce0cd85cf802194d MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
  3. <html lang="en">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  6. <title>Python Package Manager</title>
  7. <meta name="generator" content="BBEdit 6.5.3">
  8. <link rel="SHORTCUT ICON" href="pythonsmall.gif">
  9. <META NAME="AppleIcon" CONTENT="pythonsmall.gif">
  10. </head>
  11. <body>
  12. <h1>Installing additional Python Packages</h1>
  13. <table>
  14. <tr>
  15. <td>
  16. <img src="PackageManager.gif" width="128" height="128" align="top" alt="">
  17. </td>
  18. <td>
  19. <p>The Python Package Manager helps you installing additional
  20. packages that enhance Python. It determines the exact MacOS version
  21. and Python version you have and uses that information to download
  22. a database that has packages that are test and tried on that
  23. combination. In other words: if something is in your Package Manager
  24. window but does not work you are free to blame the database maintainer.</p>
  25. <p>PackageManager then checks which of the packages you have installed
  26. and which ones not. This should also work when you have installed packages
  27. outside of PackageManager.
  28. You can select packages and install them, and PackageManager will work
  29. out the requirements and install these too.</p>
  30. <p>Often PackageManager will list a package in two flavors: binary
  31. and source. Binary should always work, source will only work if
  32. you have installed the Apple Developer Tools. PackageManager will warn
  33. you about this, and also about other external dependencies.</p>
  34. <p>PackageManager is available as a separate application and also
  35. as a function of the IDE, through the <tt>File-&gt;Package Manager</tt> menu
  36. entry. </p>
  37. <h2>Troubleshooting</h2>
  38. <p>If package manager fails to open the database first check that you are
  39. connected to the internet. If you are connected then the problem
  40. could be that there is no database (yet?) for your version of Mac OS X.
  41. You may be able to find an alternative
  42. database that works for your system at
  43. <a href="http://www.python.org/packman">http://www.python.org/packman</a>.
  44. In the standalone Package Manager you can then open such an alternative database
  45. with the <tt>File-&gt;Open URL...</tt> command, but you should realize that
  46. you are now on untested ground.</p>
  47. <p>Another potential problem source is that you are behind a firewall. This version
  48. of PackageManager uses the Unix method of setting a firewall: you need to set the
  49. environment variable <tt>http_proxy</tt> to <tt>"http://<i>proxyhost</i>:<i>port</i>"</tt>.
  50. See <a href="http://developer.apple.com/qa/qa2001/qa1067.html">Apple Technical
  51. Q&amp;A QA1067</a> for instructions.</p>
  52. </td>
  53. </tr>
  54. </table>
  55. <hr>
  56. </body>
  57. </html>