Ticket #5907: 5907.diff

File 5907.diff, 1.8 KB (added by arien <regexbot@…>, 17 years ago)
  • docs/install.txt

     
    186186   your system's ``site-packages`` directory, as explained in the
    187187   "Where are my ``site-packages`` stored?" section above.)
    188188
    189    Alternatively, you can define your ``PYTHONPATH`` environment variable
    190    so that it includes the ``django`` subdirectory of ``django-trunk``.
    191    This is perhaps the most convenient solution on Windows systems, which
    192    don't support symbolic links. (Environment variables can be defined on
    193    Windows systems `from the Control Panel`_.)
     189   On Windows systems, perhaps the most convenient solution is to create a
     190   `path configuration file`_ that contains the path to your copy of the
     191   Django source code.  For example, if ``django-trunk`` is in the directory
     192   ``C:\source``, you'd create a file called ``django.pth`` in your system's
     193   ``site-packages`` directory that reads::
     194   
     195       C:\source\django-trunk
    194196
     197   As an alternative to both solutions above, you can define your ``PYTHONPATH``
     198   environment variable so that it includes the ``django`` subdirectory of
     199   ``django-trunk``.  (Environment variables can be defined on Windows systems
     200   `from the Control Panel`_.)
     201
    195202   .. admonition:: What about Apache and mod_python?
    196203
    197204      If you take the approach of setting ``PYTHONPATH``, you'll need to
     
    219226
    220227.. _`download page`: http://www.djangoproject.com/download/
    221228.. _Subversion: http://subversion.tigris.org/
     229.. _`path configuration file`: http://docs.python.org/lib/module-site.html
    222230.. _from the Control Panel: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sysdm_advancd_environmnt_addchange_variable.mspx
Back to Top