On Fri, 19 Dec 2008 at 11:40PM -0800, William Stein wrote: > Based on all the +1's it is now an optional spkg. Now everybody can > trivially install it by doing > > sage -i sagetex-2.0 > > Can you post to sage-devel in one month about moving this from > optional to standard, after more people have used it as an optional > package?
Sure, sounds great. I'm glad SageTeX has been included. > Regarding the actual spkg, looking inside it looks like this: > > ----------------------------------------------------------------- > wst...@sage:~/sage/spkg/optional/sagetex-2.0$ ls > example.pdf extractsagecode.py PKG-INFO README.spkg > sagetexpackage.ins sagetexparse.py sagetex.sty spkg-install > example.tex makestatic.py README sagetexpackage.dtx > sagetexpackage.pdf sagetex.py setup.py > ----------------------------------------------------------------- > > It seems like the layout and naming of the files in there is just kind > of made up -- it somewhat ignores all the standards we decided on for > how spkg's should be laid out. After searching for 5 minutes, *I* > can't even find anything in the wiki about how spkg's should be laid > out, so I'm not surprised you didn't either. I just wrote a setup.py script according to the distutils documentation [1]; for Sage-specific stuff, I tried to follow the developer's guide [2]. Can you make sure that these guidelines (or links to them) get added there? > Anyway, the best thing to do is to look at one that is in > spkg/standard/ and copy the format: > > src/ -- most of your stuff goes in this directory > SPKG.txt -- describes the spkg in wiki format > spkg-install -- the install script > patches -- for patches against upstream (you won't need this) > > There should not be a README.spkg (that's SPKG.txt) and README above > should be moved to src/README. Okay, I'll follow this scheme and prepare a new spkg. Dan 1. http://docs.python.org/distutils/ 2. http://sagemath.org/doc/prog/node46.html -- --- Dan Drake <dr...@kaist.edu> ----- KAIST Department of Mathematical Sciences ------- http://mathsci.kaist.ac.kr/~drake
signature.asc
Description: Digital signature