-
-
Notifications
You must be signed in to change notification settings - Fork 47
Suggestion : a Windows command-line executable #35
Comments
I agree this would be useful. Currently it does exist but in a non-obvious form, and consists of either running Sage's bash directly, or running Sage's Python directly (and in the latter case I think you still need to set some environment variables for that to work properly, but let me check that that hasn't been fixed...). For example, from a Windows cmd prompt:
By no means do I claim that it's obvious; I'm just saying that it is possible and the issue you linked to is likely fixable. Of course, patches are always welcome. |
In fact, a binary executable may also be of use on Linux (possibly on Macs ?): One use case is the use of the I tried, to no avail, to use This alternative to Do you think that a discussion on |
I don't see what problem you think this will solve. It's already possible to use Sage's Python interpreter for other uses. The main issue with Sage is just setting the correct environment variables, especially
I'm not sure what you mean by this, but I don't think so. You mainly just need to set some environment variables. See this on how to configure PyCharm to use Sage's Python as a Python interpreter. It's effectively the same solution for any case where you want to use Sage's Python from a third-party application. It's not complicated or "unfixable" but it's not "obvious" either. |
The practical usefulness of Sage is greatly enhanced by various third-party interfaces:
emacs
'sage-shell-mode
emacs
'org-mode
Sage's
ownSageTeX
see this saga to grasp the problem...)knitr
interface topython
viareticulate
pythontex
codebraid
All of those interfaces need something that can be called from a shell ; at least one of them (sage-shell-mode) needs a Windows executable, and won't accept a shell script as a substitute (see this issue, currently unfixable). Using them entails installing the
cygwin
version of the relevant software. This can go a bit far, especially when you considertexlive
; you end up installing a whole subsystem, which has to be maintained, and mostly duplicates functionality accessible from Windows...Therefore, a "simple"
sage.exe
(which could be a simple redirector forstdin
,stdout
,stderr
to acygwin
console, running minimized) might be useful in these circumstances, by allowing the Windows versions of the relevant software to use Sage.The text was updated successfully, but these errors were encountered: