-
Notifications
You must be signed in to change notification settings - Fork 46
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
How to use on Windows? #22
Comments
I just tried it on windows (using it in a Git Bash Shell) and it works well. I ran
Then I had to copy the python.exe to python3.exe Then it worked a treat!
|
Currently, I'm only developing for Unix-like systems, simply because I don't own a Windows machine to develop on. I believe the only changes necessary to port Bython to (native) Windows is to adapt where the install script puts the executable, and find a Windows alternative to the shebangs, but I'm not sure. If you're familiar with using Python on Windows, you are of course very welcome to look into the issue yourself and submit the changes. |
The instructions say to run Bython in a shell. However, in Windows, there is no bython.exe. How do you run Bython in Windows? |
Maybe my custom build would work better. I wrote it and use it on windows |
No offense to xXCrash2BomberXx, but I don't know if I can trust an executable downloaded from GitHub. This is easy enough to make work on Windows. Note that I install Python into C:\Python312, which means that Bython installs into C:\Python312\Scripts. I have both of these directories in my Windows path. Here are the steps I took to make Bython work:
That's it, now I can run: |
And then I looked at the project more closely and realized that the parser isn't really parsing and the whole project has been abandoned long ago. Oh well. |
You can convert the scripts into python entrypoints which you can then define in your package configuration. This makes them available cross-platform. See https://setuptools.pypa.io/en/latest/userguide/entry_point.html#console-scripts for documentation how to do this. |
Is it even possible to use this on Windows? If so, how?
The text was updated successfully, but these errors were encountered: