On Monday, February 11, 2013 8:31:23 AM UTC-8, ccandide wrote: > > I have downloaded Sage 5.6 source-code at > http://www.sagemath.org/download-source.html in order to review the > Python code written to implement the graph theory module. After > decompressing, I have been surprised to see that no python/Cython/C code > was available, only spkg files. I spotted a file named > graphs-20120404.p4.spkg and unpacked it in hope of finding some python > code, but nothing. > > > So : could someone explain me how to retrieve "pure" and plain Sage > source-code (whatever the language, whether it be C, Python, Cython, C++ > etc) in order to read and inspect the code, not in order to build Sage from > sources ? >
The core Sage library is in the file spkg/standard/sage-5.6.spkg, so you can unpack that to see a lot of source code. (You can also browse the source code on-line at <http://trac.sagemath.org/sage_trac/browser>.) Most of the other spkg files come from other free open source packages which Sage uses and relies on, so really they contain other parts of the source code. -- John -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
