Remove software carpentries logo
[rnaseq-cwl-training.git] / bin / lesson_initialize.py
old mode 100755 (executable)
new mode 100644 (file)
index 80cdebd..2f7b8e6
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 """Initialize a newly-created repository."""
 
 
@@ -14,12 +12,11 @@ BOILERPLATE = (
     'CONTRIBUTING.md',
     'README.md',
     '_config.yml',
-    '_episodes/01-introduction.md',
-    '_extras/about.md',
-    '_extras/discuss.md',
-    '_extras/figures.md',
-    '_extras/guide.md',
-    'aio.md',
+    os.path.join('_episodes', '01-introduction.md'),
+    os.path.join('_extras', 'about.md'),
+    os.path.join('_extras', 'discuss.md'),
+    os.path.join('_extras', 'figures.md'),
+    os.path.join('_extras', 'guide.md'),
     'index.md',
     'reference.md',
     'setup.md',
@@ -42,7 +39,7 @@ def main():
     # Create.
     for path in BOILERPLATE:
         shutil.copyfile(
-            "bin/boilerplate/{}".format(path),
+            os.path.join('bin', 'boilerplate', path),
             path
         )