Do not create README Add figure and example

This commit is contained in:
Andreas Fabri
2019-05-03 16:28:57 +02:00
parent dd4c8e6996
commit 60b1c06f4d
@@ -83,7 +83,7 @@ r"""namespace CGAL {
\anchor Chapter_PACKAGE_NAME
\anchor chaptermine
\cgalAutoToc
\author AUTHOR1, AUTHOR2
\author AUTHOR1, AUTHOR2, and AUTHOR3
This chapter describes the ...
@@ -97,6 +97,12 @@ Section on definitions here ...
The following example shows ...
\cgalExample{ }
\cgalFigureBegin{figPck,bench.png}
Left: ...
\cgalFigureEnd
*/
} /* namespace CGAL */
"""
@@ -132,13 +138,11 @@ if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
os.makedirs(expath)
os.mkdir(os.path.join(expath, 'data'))
os.mkdir(os.path.join(expath, 'include'))
open(os.path.join(expath, 'README'), 'w').close()
demopath = os.path.join(packagepath, 'demo', packagename)
os.makedirs(demopath)
os.mkdir(os.path.join(demopath, 'data'))
os.mkdir(os.path.join(demopath, 'include'))
open(os.path.join(demopath, 'README'), 'w').close()
benpath = os.path.join(packagepath, 'benchmark', packagename)
os.makedirs(benpath)