diff --git a/TODO b/TODO index 47185d9..ea9b3c6 100644 --- a/TODO +++ b/TODO @@ -21,7 +21,6 @@ Later: * Dynamic loading/filtering for recipes list * Some way to notify the user when they search for something that has been renamed / replaced / deprecated? * Create simple script to check for unlisted layer subdirectories in all repos -* Move import script to utils/ subdir * Are we going to need some way of indicating forks of another layer? (would rather avoid having forks altogether...) * Auto-detect more values from github pages? * Ability for submitters to get email notification about publication? diff --git a/layerindex/import.py b/layerindex/tools/import_wiki_layers.py similarity index 98% rename from layerindex/import.py rename to layerindex/tools/import_wiki_layers.py index cb4a770..f9f9457 100755 --- a/layerindex/import.py +++ b/layerindex/tools/import_wiki_layers.py @@ -10,6 +10,9 @@ import sys import os.path + +sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))) + import optparse import re import utils