X Tutup
Skip to content

Commit 82cedbb

Browse files
committed
Added 2to3.bat to be able to run the tool like on UNIX-like platforms: 2to3
1 parent 35d4e97 commit 82cedbb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/2to3.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
python "%~dp0\..\Tools\Scripts\2to3.py" %*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_subpackages(name):
6262
requires=["spyderlib (>=2.1.12)", "PyQt4 (>=4.5)", "guidata (>=1.6.1)"],
6363
scripts=[osp.join('scripts', fname) for fname in
6464
('register_python', 'register_python.bat',
65-
'wpcp', 'wpcp.bat', 'wppm', 'wppm.bat')],
65+
'wpcp', 'wpcp.bat', 'wppm', 'wppm.bat', '2to3.bat')],
6666
classifiers=['License :: OSI Approved :: MIT License',
6767
'Operating System :: MacOS',
6868
'Operating System :: Microsoft :: Windows',

0 commit comments

Comments
 (0)
X Tutup