source: trunk/dirs_to_distribute.py @ 7753

Last change on this file since 7753 was 7753, checked in by hudson, 11 years ago

Moved anuga_core into trunk.

File size: 905 bytes
Line 
1"""This module contains a dictionary of directories flagged for distribution.
2The format is
3
4{source_dir: destination_dir}
5
6where source_dir is an existing directory in the repository.
7The value of destination_dir will determine the directory name in the
8distribution tarball.
9If destination_dir is None, the name source_dir will be used also for
10the destination_dir.
11
12Example:
13
14dirmap = {join('anuga_core', 'source', 'anuga'): 'anuga'}
15
16"""
17
18from os.path import join
19
20dirmap = {}
21dirmap[join('anuga_core', 'source', 'anuga')] = 'anuga'
22dirmap[join('anuga_validation', 'okushiri_2005')] = None
23dirmap[join('anuga_validation', 'automated_validation_tests')] = None
24#dirmap[join('anuga_core', 'documentation', 'user_manual', 'demos')] = None
25dirmap[join('anuga_core', 'documentation', 'user_manual')] = None
26
27
28# Expand None
29for key in dirmap:
30    if dirmap[key] is None:
31        dirmap[key] = key
32
33       
Note: See TracBrowser for help on using the repository browser.