Changeset 3937
- Timestamp:
- Nov 8, 2006, 11:28:51 AM (18 years ago)
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_installation_guide.tex
r3934 r3937 74 74 \item Unpack the ANUGA source code (\code{anuga-1.0_xxxx.tgz}) 75 75 in the python site-packages 76 directory \code{C: \\Python24\\Lib\\site-packages}77 \item In the ANUGA root directory (\code{C: \\Python24\\Lib\\site-packages\\anuga}),76 directory \code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages} 77 \item In the ANUGA root directory (\code{C:$\backslash$Python24$\backslash$Lib$\backslash$site-packages$\backslash$anuga}), 78 78 run the compilation script (either from the commandline or by clicking on it): 79 79 {\small \begin{verbatim} -
anuga_work/production/dampier_2006/project.py
r3905 r3937 13 13 from anuga.geospatial_data.geospatial_data import * 14 14 from anuga.utilities.polygon import read_polygon, plot_polygons, polygon_area 15 from anuga.utilities.system_tools import get_user_name 15 16 16 17 # file and system info … … 19 20 20 21 home = getenv('INUNDATIONHOME') #Sandpit's parent dir 21 22 if sys.platform == 'win32': 23 user = getenv('USERPROFILE') 24 else: 25 user = getenv('LOGNAME') 22 user = get_user_name() 26 23 27 24 # INUNDATIONHOME is the inundation directory, not the data directory. -
create_distribution.py
r3934 r3937 10 10 from tempfile import mktemp 11 11 from sys import platform 12 from anuga.utilities.system_tools import get_user_name, get_host_name 12 13 13 14 … … 156 157 # This is hardwired for Ole 157 158 158 system('scp %s/*.tgz onielsen@cyclone:/d/cit/1/cit/risk_assessment_methods_project/downloads/ANUGA_install/anuga' %release_dir) 159 if get_user_name() == 'ole' and get_host_name() == 'nautilus': 159 160 160 system('scp %s/*.pdf onielsen@cyclone:/d/cit/1/cit/risk_assessment_methods_project/downloads/ANUGA_install' %release_dir) 161 s = 'rsync -avz %s/*.tgz onielsen@cyclone:/d/cit/1/cit/risk_assessment_methods_project/downloads/ANUGA_install/%s' %(release_dir, 'anuga_%s' %revision) 162 print s 163 system(s) 164 165 system('scp %s/*.pdf onielsen@cyclone:/d/cit/1/cit/risk_assessment_methods_project/downloads/ANUGA_install' %release_dir)
Note: See TracChangeset
for help on using the changeset viewer.