diff options
Diffstat (limited to 'testing/pelican/pelican-import')
-rw-r--r-- | testing/pelican/pelican-import | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/pelican/pelican-import b/testing/pelican/pelican-import new file mode 100644 index 0000000000..acb0cbf42d --- /dev/null +++ b/testing/pelican/pelican-import @@ -0,0 +1,11 @@ +#!/usr/bin/env python + +# -*- coding: utf-8 -*- +import re +import sys + +from pelican.tools.pelican_import import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) |