From 396db8411cef9cfad53f140984df4a5294ab1801 Mon Sep 17 00:00:00 2001 From: renhbo Date: Fri, 19 Aug 2011 22:12:17 +0800 Subject: [PATCH 1/3] A .bat wraper for pelican in Windows. --- bin/pelican.bat | 1 + 1 file changed, 1 insertion(+) create mode 100755 bin/pelican.bat diff --git a/bin/pelican.bat b/bin/pelican.bat new file mode 100755 index 00000000..674e1fd7 --- /dev/null +++ b/bin/pelican.bat @@ -0,0 +1 @@ +@python "%~dpn0" %* From e7168c1d18f66d66b3cda74d906821297c97d4e5 Mon Sep 17 00:00:00 2001 From: renhbo Date: Fri, 19 Aug 2011 22:14:19 +0800 Subject: [PATCH 2/3] A .bat wrapper for pelican in Windows. --- tools/pelican-import.bat | 1 + tools/pelican-quickstart.bat | 1 + tools/pelican-themes.bat | 1 + 3 files changed, 3 insertions(+) create mode 100755 tools/pelican-import.bat create mode 100755 tools/pelican-quickstart.bat create mode 100755 tools/pelican-themes.bat diff --git a/tools/pelican-import.bat b/tools/pelican-import.bat new file mode 100755 index 00000000..674e1fd7 --- /dev/null +++ b/tools/pelican-import.bat @@ -0,0 +1 @@ +@python "%~dpn0" %* diff --git a/tools/pelican-quickstart.bat b/tools/pelican-quickstart.bat new file mode 100755 index 00000000..674e1fd7 --- /dev/null +++ b/tools/pelican-quickstart.bat @@ -0,0 +1 @@ +@python "%~dpn0" %* diff --git a/tools/pelican-themes.bat b/tools/pelican-themes.bat new file mode 100755 index 00000000..674e1fd7 --- /dev/null +++ b/tools/pelican-themes.bat @@ -0,0 +1 @@ +@python "%~dpn0" %* From af93f7683687b335863b89153e98c3eb6cd722be Mon Sep 17 00:00:00 2001 From: renhbo Date: Fri, 19 Aug 2011 22:35:23 +0800 Subject: [PATCH 3/3] A wraper on .bat for pelican in Windows. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4574fdd6..051e258f 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,9 @@ setup( packages = ['pelican'], include_package_data = True, install_requires = requires, - scripts = ['bin/pelican', 'tools/pelican-themes', 'tools/pelican-import', 'tools/pelican-quickstart'], + scripts = ['bin/pelican', 'tools/pelican-themes', 'tools/pelican-import', 'tools/pelican-quickstart', + 'bin/pelican.bat', 'tools/pelican-themes.bat', 'tools/pelican-import.bat', + 'tools/pelican-quickstart.bat'], classifiers = ['Development Status :: 5 - Production/Stable', 'Environment :: Console', 'License :: OSI Approved :: GNU Affero General Public License v3',