Skip to content

Commit e9a0693

Browse files
author
Sean/Lychee
committed
added windows commandline support
1 parent b803756 commit e9a0693

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

bin/j2py.cmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@IF EXIST "%~dp0\python.exe" (
2+
"%~dp0\python.exe" "%~dp0\j2py" %*
3+
) ELSE (
4+
@SETLOCAL
5+
@SET PATHEXT=%PATHEXT:;.PY;=;%
6+
python "%~dp0\j2py" %*
7+
)

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def doc_files():
7575

7676
scripts=[
7777
'bin/j2py',
78+
'bin/j2py.cmd',
7879
],
7980

8081
data_files=[

0 commit comments

Comments
 (0)