How to create a new Sage package (spkg)
Currently you will need the source distribution to do the following. Alternatively, you can try 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