-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Add a batch file #1348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a batch file #1348
Conversation
Whoops, meant @johnthagen. |
I'll hold off until someone confirms it works. Some questions in the mean time:
|
1: Doesn't the Python 3 installer always install it as |
As I said, I haven't followed the development of the Windows installer at all. So someone who can actually play with it on Windows will have to answer. Remaining question: how does your script end up invoking the correct Python binary? |
@gvanrossum |
Ah, makes sense!
|
@kirbyfan64 Seems to have worked, thanks! C:\Users\John Hagen>pip install git+https://github.com/kirbyfan64/mypy@bat_file
Collecting git+https://github.com/kirbyfan64/mypy@bat_file
Cloning https://github.com/kirbyfan64/mypy (to bat_file) to c:\users\johnha~1\appdata\local\temp\pip-6v6s7ej5-build
Installing collected packages: mypy-lang
Running setup.py install for mypy-lang ... done
Successfully installed mypy-lang-0.3.1
C:\Users\John Hagen>mypy
usage: mypy [-h] [-v] [-V] [--python-version x.y] [--py2] [-s]
[--disallow-untyped-calls] [--disallow-untyped-defs]
[--check-untyped-defs] [--fast-parser] [-f] [--pdb]
[--use-python-path] [--stats] [--inferstats]
[--custom-typing MODULE] [--html-report DIR]
[--old-html-report DIR] [--xslt-html-report DIR]
[--xml-report DIR] [--txt-report DIR] [--xslt-txt-report DIR]
[--linecount-report DIR] [-m MODULES] [-c COMMAND] [-p PACKAGE]
[files [files ...]]
mypy: error: Missing target module, package, files, or command. Tested on:
|
Thanks! Merged now. |
Closes #1226. @johnthegen Can you try this out?