1 | initial version |
The short answer to your question is in the Sage tutorial. The longer version is to get access to sage-devel (is it really invitation-only?) and to look at the Sage developer's guide, in particular the part on packaging third-party code.