1821.1.1
by Alexander Belchenko
win32 installer for bzr.dev.0.9 |
1 |
import glob |
2 |
import os |
|
3 |
import shutil |
|
4 |
||
5 |
TGT_DIR = 'win32_bzr.exe/doc' |
|
6 |
||
7 |
if not os.path.exists(TGT_DIR): |
|
8 |
os.makedirs(TGT_DIR) |
|
9 |
||
10 |
for i in glob.glob('doc/*.htm'): |
|
11 |
shutil.copy(i, os.path.join('win32_bzr.exe', i)) |
|
12 |
||
13 |
CSS = 'doc/default.css' |
|
14 |
if os.path.isfile(CSS): |
|
15 |
shutil.copy(CSS, os.path.join('win32_bzr.exe', CSS)) |