Closed 3421e925-4b79-48cc-ba65-9123d4ab1b38 closed 15 years ago
Description changed:
---
+++
@@ -16,4 +16,32 @@
code.
-This documentation needs to account for the separate module_list.py
file.
+Here is a fix. However, it looks like SAGE_ROOT/devel/sage/doc/en/developer/coding_in_other.rst
isn't under any version control. Therefore, I'll just post a replacement docstring here. Hopefully, someone can help me include it in the appropriate file.
+
+```
+#. Create a .pyx file and add it to the Sage library.
+
+
ext_modules
in the fileSAGE_ROOT/devel/sage/module_list.py
. See thedistutils.extension.Extension
class for more information on creatingpackages
list in the fileSAGE_ROOT/devel/sage/setup.py
.sage -b
to rebuild Sage with the new code.SAGE_ROOT/devel/sage/sage/graphs/chrompoly.pyx
+::
module_list.py
. In addition, sage.graphs
is included in thesetup.py
.
+```
Yes, it is under version control:
mabshoff@sage:/scratch/mabshoff/sage-3.4.rc2/devel/sage$ hg log doc/en/developer/coding_in_other.rst
changeset: 11689:d83194742483
user: Mike Hansen <mhansen@gmail.com>
date: Tue Feb 24 09:13:12 2009 -0800
summary: Added the documentation to the main repository.
Cheers,
Michael
Attachment: sage-5470.patch.gz
D'oh! I must have been looking at another screen or something.
The patch is attached an is ready for review.
Mostly looks good. The only complaint I have is about step (2)
#. Then, add the module name to the ``packages`` list in the file
``SAGE_ROOT/devel/sage/setup.py``.
one only does this if one is making an new package (directory).
Attachment: sage-5470-part2.patch.gz
Apply in the following order:
sage-5470.patch
sage-5470-part2.patch
Merged both patches in Sage 3.4.1.rc0.
Cheers,
Michael
Description changed:
---
+++
@@ -43,5 +43,5 @@
sources = ['sage/graphs/chrompoly.pyx']),
in ``module_list.py``. In addition, ``sage.graphs`` is included in the
- packages list under the Distutils section of ``setup.py``.
+ packages list under the Distutils section of ``setup.py``.
The current description for adding a new Cython module is outdated:
http://www.sagemath.org/doc/prog/node29.html
Here is a fix. However, it looks like
SAGE_ROOT/devel/sage/doc/en/developer/coding_in_other.rst
isn't under any version control. Therefore, I'll just post a replacement docstring here. Hopefully, someone can help me include it in the appropriate file.CC: @cswiercz
Component: documentation
Issue created by migration from https://trac.sagemath.org/ticket/5470