| | 487 | A third option is to use a `path file`_ (``<something>.pth``) which should |
|---|
| | 488 | work on all systems (including MS Windows, which doesn't have symlinks |
|---|
| | 489 | available). First, make sure there are no files, directories or symlinks named |
|---|
| | 490 | ``django`` in your ``site-packages`` directory. Then create a text file named |
|---|
| | 491 | ``django.pth`` and save it to your ``site-packages`` directory. That file |
|---|
| | 492 | should contain a path to your copy of Django on a single line and optional |
|---|
| | 493 | comments. Here is an example that points to multiple branches. Just uncomment |
|---|
| | 494 | the line for the branch you want to use ('Trunk' in this example) and make |
|---|
| | 495 | sure all other lines are commented:: |
|---|
| | 496 | |
|---|
| | 497 | # Trunk is a svn checkout of: |
|---|
| | 498 | # http://code.djangoproject.com/svn/django/trunk/ |
|---|
| | 499 | # |
|---|
| | 500 | /path/to/trunk |
|---|
| | 501 | |
|---|
| | 502 | # <branch> is a svn checkout of: |
|---|
| | 503 | # http://code.djangoproject.com/svn/django/branches/<branch>/ |
|---|
| | 504 | # |
|---|
| | 505 | #/path/to/<branch> |
|---|
| | 506 | |
|---|
| | 507 | # On windows a path may look like this: |
|---|
| | 508 | # C:/path/to/<branch> |
|---|
| | 509 | |
|---|