Ignore:
Timestamp:
Nov 14, 2006, 2:42:54 PM (18 years ago)
Author:
ole
Message:

Added demos to packaging script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • create_distribution.py

    r3937 r3987  
    112112system(s)
    113113
     114
     115#-----------------------------
     116# Get demos from user manual
     117
     118#s = 'mkdir %s/anuga_demos' %distro_dir
     119#system(s)
     120
     121s = 'svn export anuga_core/documentation/user_manual/demos %s/anuga_demos'\
     122    %(distro_dir)
     123print s
     124system(s)
     125
     126# Zip it up
     127s = 'cd %s;tar cvfz anuga_demos-%s.tgz *'\
     128    %(distro_dir, revision)
     129print s
     130system(s)
     131
     132# Move distro to release area
     133s = '/bin/mv %s/*.tgz %s' %(distro_dir, release_dir)
     134print s
     135system(s)
     136
     137# Clean up
     138s = '/bin/rm -rf %s/anuga_demos' %(distro_dir)
     139print s
     140system(s)
     141
     142
     143
    114144#-----------------------------
    115145# Copy anuga_viewer
Note: See TracChangeset for help on using the changeset viewer.