Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Mark files # sage_setup: distribution = sagemath-giac
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Dec 3, 2022
1 parent 71b5921 commit fe08ab2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/sage/libs/giac/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-giac
# -*- coding: utf-8 -*-
"""
Wrappers for Giac functions
Expand Down
1 change: 1 addition & 0 deletions src/sage/libs/giac/auto-methods.pxi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-giac
# file auto generated by mkkeywords.py
cdef class GiacMethods_base:
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/libs/giac/giac.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-giac
# distutils: language = c++
# ****************************************************************************
# Copyright (C) 2012, Frederic Han <frederic.han@imj-prg.fr>
Expand Down
1 change: 1 addition & 0 deletions src/sage/libs/giac/giac.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-giac
# distutils: libraries = giac
# distutils: language = c++
r"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/libs/giac/keywords.pxi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-giac
# file auto generated by mkkeywords.py
blacklist = ['eval', 'cas_setup', 'i', 'list', 'input', 'in', 'sto', 'string', 'and', 'break', 'continue', 'else', 'for', 'from', 'if', 'not', 'or', 'pow', 'print', 'return', 'set[]', 'try', 'while', 'open', 'output', 'do', 'of', 'Request', 'i[]', '[]', 'ffunction', 'sleep', '[..]']

Expand Down
2 changes: 2 additions & 0 deletions src/sage_setup/autogen/giacpy-mkkeywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@

# building auto-methods.pxi
Mi=open("auto-methods.pxi","w")
Mi.write("# sage_setup: distribution = sagemath-giac\n")
Mi.write("# file auto generated by mkkeywords.py\n")
s='cdef class GiacMethods_base:\n """\n Wrapper for a giac ``gen`` containing auto-generated methods.\n'
s+='\n This class does not manage the ``gen`` inside in any way. It is just\n a dumb wrapper.'
Expand All @@ -92,6 +93,7 @@

# building keywords.pxi
with open("keywords.pxi", "w") as Fi:
Fi.write("# sage_setup: distribution = sagemath-giac\n")
Fi.write("# file auto generated by mkkeywords.py\n")
Fi.write("blacklist = " + str(blacklist) + "\n\n")
Fi.write("toremove = " + str(toremove) + "\n\n")
Expand Down

0 comments on commit fe08ab2

Please sign in to comment.