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