source:
trunk/monitor/cgi-bin/asapconfig.py@
755
| Last change on this file since 755 was 712, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 651 bytes | |
| Line | |
|---|---|
| 1 | #asapconfig.py |
| 2 | |
| 3 | observatory = {'rpfpath': [], |
| 4 | 'name': 'observatory', |
| 5 | 'lines' : {} } |
| 6 | |
| 7 | import os,sys |
| 8 | # This is where asap lives |
| 9 | sys.path.insert(2,'/opt/lib/python2.3/site-packages') |
| 10 | os.environ["AIPSPATH"]="/opt/share/asap linux_gnu somewhere localhost" |
| 11 | |
| 12 | #overwrite /usr/local/... as default |
| 13 | sys.path.insert(2,'/usr/lib/python2.3/site-packages') |
| 14 | |
| 15 | # This is needed for plotting with matplotlib |
| 16 | # where matplotlib data is located |
| 17 | os.environ["MATPLOTLIBDATA"]="/opt/share/matplotlib" |
| 18 | # where matplotlib puts it temporary font files |
| 19 | # this location can also have a custom .matplotlibrc |
| 20 | os.environ["HOME"]="/var/www/asapmon/tmp" |
Note:
See TracBrowser
for help on using the repository browser.
