On Thu, Aug 12, 2010 at 3:13 PM, fitzsnaggle <fitzsnag...@yahoo.com> wrote:
> That's discouraging. I can still use a lot of the packages that sage
> comes with to create the program in python and then compile to exe,
> right?

It depends entirely on the packages and the program.  If your program
does nothing but say "2+2" then it's easy.  If it computes the
reduction type (via genus2reduction) of a curve obtained by some
construction using Groebner basis (computed using Singular) that
involves sieving for elliptic curves with certain properties (using
mwrank), the situation is different... :-)

>
> Thanks for your quick response.
>
> On Aug 12, 2:56 pm, William Stein <wst...@gmail.com> wrote:
>> On Thu, Aug 12, 2010 at 2:50 PM, fitzsnaggle <fitzsnag...@yahoo.com> wrote:
>> > I don't undestand why not though. If it is possible to do this python,
>> > then why not with sage?
>>
>> Sage is an extremely complicated program involving over 5 million
>> lines of code and multiple running processes and programs that have to
>> be run in a very specific environment.   In addition, it is currently
>> not possible to build about half of Sage at all under Microsoft
>> Windows, and estimates range from 2 to 100 years of hard work (which
>> isn't going on, anyways) to change that.
>>
>>  -- William
>>
>>
>>
>>
>>
>> > On Aug 12, 2:46 pm, William Stein <wst...@gmail.com> wrote:
>> >> On Thu, Aug 12, 2010 at 2:41 PM, fitzsnaggle <fitzsnag...@yahoo.com> 
>> >> wrote:
>> >> > I am running Sage on vmware. I'm wondering if I can make a piece of my
>> >> > program with sage and then turn that into a python script and then
>> >> > cross-compile it to run as a windows exe that people without Sage or
>> >> > Python can use.
>>
>> >> This is absolutely not possible, in general.   Sorry.
>>
>> >> William
>>
>> >> > On Aug 12, 2:14 pm, Harald Schilly <harald.schi...@gmail.com> wrote:
>> >> >> On Aug 12, 11:06 pm, fitzsnaggle <fitzsnag...@yahoo.com> wrote:
>>
>> >> >> > Is it possible to make a script on sage, import its libraries into a
>> >> >> > python script and then compile that script as a standalone windows 
>> >> >> > exe
>> >> >> > using py2exe or pyinstaller?
>>
>> >> >> Technically, I think yes - but that would not do anything useful at
>> >> >> all. I suggest you to join the sage-windows group to be updated about
>> >> >> the development towards running Sage on windows. For now, you need to
>> >> >> emulate a Linux environment. For that, run the provided vmware image.
>>
>> >> >> H
>>
>> >> > --
>> >> > To post to this group, send email to sage-support@googlegroups.com
>> >> > To unsubscribe from this group, send email to 
>> >> > sage-support+unsubscr...@googlegroups.com
>> >> > For more options, visit this group 
>> >> > athttp://groups.google.com/group/sage-support
>> >> > URL:http://www.sagemath.org
>>
>> >> --
>> >> William Stein
>> >> Professor of Mathematics
>> >> University of Washingtonhttp://wstein.org
>>
>> > --
>> > To post to this group, send email to sage-support@googlegroups.com
>> > To unsubscribe from this group, send email to 
>> > sage-support+unsubscr...@googlegroups.com
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/sage-support
>> > URL:http://www.sagemath.org
>>
>> --
>> William Stein
>> Professor of Mathematics
>> University of Washingtonhttp://wstein.org
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to 
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to