store documentation figure path in a variable

This commit is contained in:
Panagiotis Cheilaris 2013-05-29 11:35:24 +02:00
parent 7757cf3841
commit 988c8ae48f
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
os.makedirs(docpath)
os.mkdir(os.path.join(docpath, 'CGAL'))
os.mkdir(os.path.join(docpath, 'Concepts'))
os.mkdir(os.path.join(docpath, 'fig'))
figpath = os.path.join(docpath, 'fig')
os.mkdir(figpath)
open(os.path.join(docpath, 'examples.txt'), 'w').close()
open(os.path.join(docpath, (packagename + '.txt')), 'w').close()