Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/src/sage_setup/autogen/flint_autogen.py
4055 views
1
r"""
2
Autogeneration of flint headers.
3
"""
4
#*****************************************************************************
5
# Copyright (C) 2023 Vincent Delecroix <[email protected]>
6
#
7
# This program is free software: you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation, either version 2 of the License, or
10
# (at your option) any later version.
11
# http://www.gnu.org/licenses/
12
#*****************************************************************************
13
14
import os
15
from flint import AUTOGEN_DIR, write_flint_cython_headers
16
17
18
OUTPUT_DIR = os.path.realpath(os.path.join(AUTOGEN_DIR, os.path.pardir, os.path.pardir, os.path.pardir, 'sage', 'libs', 'flint'))
19
write_flint_cython_headers(OUTPUT_DIR, documentation=False)
20
21