|
⇤ ← Revision 1 as of 2009-07-03 23:52:52
Size: 866
Comment:
|
← Revision 2 as of 2022-04-05 00:45:37 ⇥
Size: 0
Comment: outdated
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| == How to create a new Sage package (spkg) == Currently you will need the source distribution to do the following. Alternatively, you can try [[windows/fix-msi-to-allow-package-building| fixing the binary distribution]] until a proper fix. * Open a cmd.exe and cd to the root folder of sage. * Type "sage-python.bat sage-control.py -m mypackage.1.0.0" and press Carriage Return. This will create a template folder structure under "<SAGE_ROOT>\spkg\build\mypackage.1.0.0". You should put source code "as is" under the src folder and edit the spkg-windows.bat file. If you are building a non-Python package you will need to edit the MANIFEST file (it has instructions on how to use). Once you have finished editing the package files you can create an spkg file using the following command: - * sage-python.bat sage-control.py -c mypackage.1.0.0 |
