-
Notifications
You must be signed in to change notification settings - Fork 139
Support windows #90
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
Support windows #90
Conversation
|
👍 |
|
@tmm1 Why is this not merged yet? |
|
I'm having this issue with Jekyll which many guys on forums relate to pygments.rb: Using pygments.rb v0.6.0 |
|
Just a note that this is still an important issue for Jekyll and Octopress users. |
|
Please merge! f03df35 broke pygments.rb—and all the software that depends on it—on Windows. That's upset several thousand Jekyll bloggers https://stackoverflow.com/questions/17364028/jekyll-on-windows-pygments-not-working |
|
👍 Um, thinking about this again... Since you could install Python 2 and 3 side by side on Windows it would be no good idea to just blindly call the "python" binary. On Windows you could use the Python Launcher called as "py -2" which will spawn a Python 2 interpreter for you. |
|
Windows doesn't support |
Exactly.
True. But just calling "python" gets you the "default" Python interpreter which might be Python 3, and that will fail. That's why I suggest to use the Python Launcher instead (which gets installed in %systemroot% and thus will always be found - regardless of the directories in %PATH%). The launcher will then figure out how to start a suitable Python interpreter by itself. |
Incomplete is better than nothing. |
I disagree on that one. There's no point in fixing something, rolling out a release if you know in advance that it will not work (especially when you have a better solution). Would you mind updating your pull request to use "py -2" please? Thanks! |
|
This was fixed in #138 |
|
Thanks! |
I wrote these patches to support MS Windows.
After these patch, we can pass all tests by
rake teston Windows.Windows doesn't support
whichcommand.And python 2.x binaries officially distributed for Windows don't include
python2.exe.