1 """Initialize a newly-created repository."""
15 os.path.join('_episodes', '01-introduction.md'),
16 os.path.join('_extras', 'about.md'),
17 os.path.join('_extras', 'discuss.md'),
18 os.path.join('_extras', 'figures.md'),
19 os.path.join('_extras', 'guide.md'),
27 """Check for collisions, then create."""
31 for path in BOILERPLATE:
32 if os.path.exists(path):
33 print('Warning: {0} already exists.'.format(path), file=sys.stderr)
36 print('**Exiting without creating files.**', file=sys.stderr)
40 for path in BOILERPLATE:
42 os.path.join('bin', 'boilerplate', path),
47 if __name__ == '__main__':