|
125 | 125 | ## |
126 | 126 | ################################ |
127 | 127 |
|
128 | | - Extension('sage.algebras.quatalg.quaternion_algebra_element', |
129 | | - sources = ['sage/algebras/quatalg/quaternion_algebra_element.pyx'], |
130 | | - language='c++', |
131 | | - libraries = ["gmp", "m", "ntl"]), |
132 | | - |
133 | | - Extension('*', sources = ['sage/algebras/letterplace/*.pyx']), |
134 | | - |
135 | | - Extension('*', sources = ['sage/algebras/finite_dimensional_algebras/*.pyx']), |
136 | | - |
137 | | - Extension('sage.algebras.quatalg.quaternion_algebra_cython', |
138 | | - sources = ['sage/algebras/quatalg/quaternion_algebra_cython.pyx'], |
139 | | - language='c++', |
140 | | - libraries = ["gmp", "m", "ntl"]), |
141 | | - |
142 | | - Extension('sage.algebras.lie_algebras.lie_algebra_element', |
143 | | - sources = ["sage/algebras/lie_algebras/lie_algebra_element.pyx"]), |
| 128 | + Extension('*', ['sage/algebras/**/*.pyx']), |
144 | 129 |
|
145 | 130 | ################################ |
146 | 131 | ## |
|
271 | 256 | ## |
272 | 257 | ################################ |
273 | 258 |
|
274 | | - Extension('sage.geometry.point_collection', |
275 | | - sources = ['sage/geometry/point_collection.pyx']), |
276 | | - |
277 | | - Extension('sage.geometry.toric_lattice_element', |
278 | | - sources = ['sage/geometry/toric_lattice_element.pyx']), |
279 | | - |
280 | | - Extension('sage.geometry.integral_points', |
281 | | - sources = ['sage/geometry/integral_points.pyx']), |
282 | | - |
283 | | - Extension('sage.geometry.triangulation.base', |
284 | | - sources = ['sage/geometry/triangulation/base.pyx', |
285 | | - 'sage/geometry/triangulation/functions.cc', |
286 | | - 'sage/geometry/triangulation/data.cc', |
287 | | - 'sage/geometry/triangulation/triangulations.cc'], |
288 | | - depends = ['sage/geometry/triangulation/functions.h', |
289 | | - 'sage/geometry/triangulation/data.h', |
290 | | - 'sage/geometry/triangulation/triangulations.h'], |
291 | | - language="c++"), |
292 | | - |
293 | | - Extension('sage.geometry.polyhedron.combinatorial_polyhedron.base', |
294 | | - sources = ['sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx']), |
295 | | - |
296 | | - Extension('sage.geometry.polyhedron.combinatorial_polyhedron.list_of_faces', |
297 | | - sources = ['sage/geometry/polyhedron/combinatorial_polyhedron/list_of_faces.pyx'], |
298 | | - depends = ['sage/geometry/polyhedron/combinatorial_polyhedron/bit_vector_operations.cc'], |
299 | | - language="c++", |
300 | | - extra_compile_args=['-std=c++11']), |
301 | | - |
302 | | - Extension('sage.geometry.polyhedron.combinatorial_polyhedron.face_iterator', |
303 | | - sources = ['sage/geometry/polyhedron/combinatorial_polyhedron/face_iterator.pyx'], |
304 | | - depends = ['sage/geometry/polyhedron/combinatorial_polyhedron/bit_vector_operations.cc'], |
305 | | - language="c++", |
306 | | - extra_compile_args=['-std=c++11']), |
307 | | - |
308 | | - Extension('sage.geometry.polyhedron.combinatorial_polyhedron.polyhedron_face_lattice', |
309 | | - sources = ['sage/geometry/polyhedron/combinatorial_polyhedron/polyhedron_face_lattice.pyx'], |
310 | | - depends = ['sage/geometry/polyhedron/combinatorial_polyhedron/bit_vector_operations.cc'], |
311 | | - language="c++", |
312 | | - extra_compile_args=['-std=c++11']), |
313 | | - |
314 | | - Extension('sage.geometry.polyhedron.combinatorial_polyhedron.combinatorial_face', |
315 | | - sources = ['sage/geometry/polyhedron/combinatorial_polyhedron/combinatorial_face.pyx'], |
316 | | - depends = ['sage/geometry/polyhedron/combinatorial_polyhedron/bit_vector_operations.cc'], |
317 | | - language="c++", |
318 | | - extra_compile_args=['-std=c++11']), |
319 | | - |
320 | | - Extension('sage.geometry.polyhedron.combinatorial_polyhedron.conversions', |
321 | | - sources = ['sage/geometry/polyhedron/combinatorial_polyhedron/conversions.pyx']), |
| 259 | + Extension('*', ['sage/geometry/**/*.pyx']), |
322 | 260 |
|
323 | 261 | ################################ |
324 | 262 | ## |
|
646 | 584 | ## |
647 | 585 | ################################### |
648 | 586 |
|
649 | | - Extension('sage.libs.ntl.convert', |
650 | | - sources = ["sage/libs/ntl/convert.pyx"], |
651 | | - libraries = ["ntl", "gmp"], |
652 | | - language='c++'), |
653 | | - |
654 | | - Extension('sage.libs.ntl.error', |
655 | | - sources = ["sage/libs/ntl/error.pyx"], |
656 | | - libraries = ["ntl", "gmp"], |
657 | | - language='c++'), |
658 | | - |
659 | | - Extension('sage.libs.ntl.ntl_GF2', |
660 | | - sources = ["sage/libs/ntl/ntl_GF2.pyx"], |
661 | | - libraries = ["ntl", "gmp"], |
662 | | - language='c++'), |
663 | | - |
664 | | - Extension('sage.libs.ntl.ntl_GF2E', |
665 | | - sources = ["sage/libs/ntl/ntl_GF2E.pyx"], |
666 | | - libraries = ["ntl", "gmp", "m"], |
667 | | - language='c++'), |
668 | | - |
669 | | - Extension('sage.libs.ntl.ntl_GF2EContext', |
670 | | - sources = ["sage/libs/ntl/ntl_GF2EContext.pyx"], |
671 | | - libraries = ["ntl", "gmp", "m"], |
672 | | - language='c++'), |
673 | | - |
674 | | - Extension('sage.libs.ntl.ntl_GF2EX', |
675 | | - sources = ["sage/libs/ntl/ntl_GF2EX.pyx"], |
676 | | - libraries = ["ntl", "gmp", "m"], |
677 | | - language='c++'), |
678 | | - |
679 | | - Extension('sage.libs.ntl.ntl_GF2X', |
680 | | - sources = ["sage/libs/ntl/ntl_GF2X.pyx"], |
681 | | - libraries = ["ntl", "gmp", "m"], |
682 | | - language='c++'), |
683 | | - |
684 | | - Extension('sage.libs.ntl.ntl_lzz_p', |
685 | | - sources = ["sage/libs/ntl/ntl_lzz_p.pyx"], |
686 | | - libraries = ["ntl", "gmp", "m"], |
687 | | - language='c++'), |
688 | | - |
689 | | - Extension('sage.libs.ntl.ntl_lzz_pContext', |
690 | | - sources = ["sage/libs/ntl/ntl_lzz_pContext.pyx"], |
691 | | - libraries = ["ntl", "gmp", "m"], |
692 | | - language='c++'), |
693 | | - |
694 | | - Extension('sage.libs.ntl.ntl_lzz_pX', |
695 | | - sources = ["sage/libs/ntl/ntl_lzz_pX.pyx"], |
696 | | - libraries = ["ntl", "gmp", "m"], |
697 | | - language='c++'), |
698 | | - |
699 | | - Extension('sage.libs.ntl.ntl_mat_GF2', |
700 | | - sources = ["sage/libs/ntl/ntl_mat_GF2.pyx"], |
701 | | - libraries = ["ntl", "gmp", "m"], |
702 | | - language='c++'), |
703 | | - |
704 | | - Extension('sage.libs.ntl.ntl_mat_GF2E', |
705 | | - sources = ["sage/libs/ntl/ntl_mat_GF2E.pyx"], |
706 | | - libraries = ["ntl", "gmp", "m"], |
707 | | - language='c++'), |
708 | | - |
709 | | - Extension('sage.libs.ntl.ntl_mat_ZZ', |
710 | | - sources = ["sage/libs/ntl/ntl_mat_ZZ.pyx"], |
711 | | - libraries = ["ntl", "gmp", "m"], |
712 | | - language='c++'), |
713 | | - |
714 | | - Extension('sage.libs.ntl.ntl_ZZ', |
715 | | - sources = ["sage/libs/ntl/ntl_ZZ.pyx"], |
716 | | - libraries = ["ntl", "gmp", "m"], |
717 | | - language='c++'), |
718 | | - |
719 | | - Extension('sage.libs.ntl.ntl_ZZX', |
720 | | - sources = ["sage/libs/ntl/ntl_ZZX.pyx"], |
721 | | - libraries = ["ntl", "gmp", "m"], |
722 | | - language='c++'), |
723 | | - |
724 | | - Extension('sage.libs.ntl.ntl_ZZ_p', |
725 | | - sources = ["sage/libs/ntl/ntl_ZZ_p.pyx"], |
726 | | - libraries = ["ntl", "gmp", "m"], |
727 | | - language='c++'), |
728 | | - |
729 | | - Extension('sage.libs.ntl.ntl_ZZ_pContext', |
730 | | - sources = ["sage/libs/ntl/ntl_ZZ_pContext.pyx"], |
731 | | - libraries = ["ntl", "gmp", "m"], |
732 | | - language='c++'), |
733 | | - |
734 | | - Extension('sage.libs.ntl.ntl_ZZ_pE', |
735 | | - sources = ["sage/libs/ntl/ntl_ZZ_pE.pyx"], |
736 | | - libraries = ["ntl", "gmp", "m"], |
737 | | - language='c++'), |
738 | | - |
739 | | - Extension('sage.libs.ntl.ntl_ZZ_pEContext', |
740 | | - sources = ["sage/libs/ntl/ntl_ZZ_pEContext.pyx"], |
741 | | - libraries = ["ntl", "gmp", "m"], |
742 | | - language='c++'), |
743 | | - |
744 | | - Extension('sage.libs.ntl.ntl_ZZ_pEX', |
745 | | - sources = ["sage/libs/ntl/ntl_ZZ_pEX.pyx"], |
746 | | - libraries = ["ntl", "gmp", "m"], |
747 | | - language='c++'), |
748 | | - |
749 | | - Extension('sage.libs.ntl.ntl_ZZ_pX', |
750 | | - sources = ["sage/libs/ntl/ntl_ZZ_pX.pyx"], |
751 | | - libraries = ["ntl", "gmp", "m"], |
752 | | - language='c++'), |
| 587 | + Extension('*', ["sage/libs/ntl/*.pyx"]), |
753 | 588 |
|
754 | 589 | ################################ |
755 | 590 | ## |
|
922 | 757 | ## |
923 | 758 | ################################ |
924 | 759 |
|
925 | | - Extension('sage.modular.arithgroup.congroup', |
926 | | - sources = ['sage/modular/arithgroup/congroup.pyx']), |
927 | | - |
928 | | - Extension('sage.modular.arithgroup.farey_symbol', |
929 | | - sources = ['sage/modular/arithgroup/farey_symbol.pyx']), |
930 | | - |
931 | | - Extension('sage.modular.arithgroup.arithgroup_element', |
932 | | - sources = ['sage/modular/arithgroup/arithgroup_element.pyx']), |
933 | | - |
934 | | - Extension('sage.modular.hypergeometric_misc', |
935 | | - sources = ['sage/modular/hypergeometric_misc.pyx']), |
936 | | - |
937 | | - Extension('sage.modular.modform.eis_series_cython', |
938 | | - sources = ['sage/modular/modform/eis_series_cython.pyx']), |
939 | | - |
940 | | - Extension('sage.modular.modform.l_series_gross_zagier_coeffs', |
941 | | - sources = ['sage/modular/modform/l_series_gross_zagier_coeffs.pyx']), |
942 | | - |
943 | | - Extension('sage.modular.modsym.apply', |
944 | | - sources = ['sage/modular/modsym/apply.pyx'], |
945 | | - extra_compile_args=["-D_XPG6"]), |
946 | | - |
947 | | - Extension('sage.modular.modsym.manin_symbol', |
948 | | - sources = ['sage/modular/modsym/manin_symbol.pyx']), |
949 | | - |
950 | | - Extension('sage.modular.modsym.relation_matrix_pyx', |
951 | | - sources = ['sage/modular/modsym/relation_matrix_pyx.pyx']), |
952 | | - |
953 | | - Extension('sage.modular.modsym.heilbronn', |
954 | | - sources = ['sage/modular/modsym/heilbronn.pyx'], |
955 | | - extra_compile_args=["-D_XPG6"]), |
956 | | - |
957 | | - Extension('sage.modular.modsym.p1list', |
958 | | - sources = ['sage/modular/modsym/p1list.pyx']), |
959 | | - |
960 | | - Extension('sage.modular.pollack_stevens.dist', |
961 | | - sources = ['sage/modular/pollack_stevens/dist.pyx'], |
962 | | - libraries = ["gmp", "zn_poly"], |
963 | | - extra_compile_args = ["-D_XPG6"]), |
| 760 | + Extension('*', ['sage/modular/**/*.pyx']), |
964 | 761 |
|
965 | 762 | ################################ |
966 | 763 | ## |
967 | 764 | ## sage.modules |
968 | 765 | ## |
969 | 766 | ################################ |
970 | 767 |
|
971 | | - Extension('sage.modules.vector_rational_sparse', |
972 | | - sources = ['sage/modules/vector_rational_sparse.pyx']), |
973 | | - |
974 | | - Extension('sage.modules.vector_integer_sparse', |
975 | | - sources = ['sage/modules/vector_integer_sparse.pyx']), |
976 | | - |
977 | | - Extension('sage.modules.vector_modn_sparse', |
978 | | - sources = ['sage/modules/vector_modn_sparse.pyx']), |
979 | | - |
980 | | - Extension('sage.modules.finite_submodule_iter', |
981 | | - sources = ['sage/modules/finite_submodule_iter.pyx']), |
982 | | - |
983 | | - Extension('sage.modules.free_module_element', |
984 | | - sources = ['sage/modules/free_module_element.pyx']), |
985 | | - |
986 | | - Extension('sage.modules.module', |
987 | | - sources = ['sage/modules/module.pyx']), |
988 | | - |
989 | | - Extension('sage.modules.vector_complex_double_dense', |
990 | | - ['sage/modules/vector_complex_double_dense.pyx']), |
991 | | - |
992 | | - Extension('sage.modules.vector_double_dense', |
993 | | - ['sage/modules/vector_double_dense.pyx']), |
994 | | - |
995 | | - Extension('sage.modules.vector_integer_dense', |
996 | | - sources = ['sage/modules/vector_integer_dense.pyx']), |
997 | | - |
998 | | - Extension('sage.modules.vector_modn_dense', |
999 | | - sources = ['sage/modules/vector_modn_dense.pyx']), |
1000 | | - |
1001 | | - Extension('sage.modules.vector_mod2_dense', |
1002 | | - sources = ['sage/modules/vector_mod2_dense.pyx'], |
1003 | | - libraries = m4ri_libs + gd_libs + png_libs, |
1004 | | - library_dirs = m4ri_library_dirs + gd_library_dirs + png_library_dirs, |
1005 | | - include_dirs = m4ri_include_dirs + gd_include_dirs + png_include_dirs, |
1006 | | - extra_compile_args = m4ri_extra_compile_args), |
1007 | | - |
1008 | | - Extension('sage.modules.vector_rational_dense', |
1009 | | - sources = ['sage/modules/vector_rational_dense.pyx']), |
1010 | | - |
1011 | | - Extension('sage.modules.vector_real_double_dense', |
1012 | | - ['sage/modules/vector_real_double_dense.pyx']), |
1013 | | - |
1014 | | - Extension('sage.modules.with_basis.indexed_element', |
1015 | | - sources = ['sage/modules/with_basis/indexed_element.pyx']), |
| 768 | + Extension('*', ['sage/modules/**/*.pyx']), |
1016 | 769 |
|
1017 | 770 | ################################ |
1018 | 771 | ## |
|
1558 | 1311 | ## |
1559 | 1312 | ################################ |
1560 | 1313 |
|
1561 | | - Extension('sage.schemes.elliptic_curves.descent_two_isogeny', |
1562 | | - sources = ['sage/schemes/elliptic_curves/descent_two_isogeny.pyx'], |
1563 | | - libraries = ['ratpoints']), |
1564 | | - |
1565 | | - Extension('sage.schemes.elliptic_curves.period_lattice_region', |
1566 | | - sources = ['sage/schemes/elliptic_curves/period_lattice_region.pyx']), |
1567 | | - |
1568 | | - Extension('sage.schemes.elliptic_curves.mod_sym_num', |
1569 | | - sources = ['sage/schemes/elliptic_curves/mod_sym_num.pyx']), |
1570 | | - |
1571 | | - Extension('sage.schemes.hyperelliptic_curves.hypellfrob', |
1572 | | - sources = ['sage/schemes/hyperelliptic_curves/hypellfrob.pyx', |
1573 | | - 'sage/schemes/hyperelliptic_curves/hypellfrob/hypellfrob.cpp', |
1574 | | - 'sage/schemes/hyperelliptic_curves/hypellfrob/recurrences_ntl.cpp', |
1575 | | - 'sage/schemes/hyperelliptic_curves/hypellfrob/recurrences_zn_poly.cpp'], |
1576 | | - libraries = ['gmp', 'ntl', 'zn_poly'], |
1577 | | - depends = ['sage/schemes/hyperelliptic_curves/hypellfrob/hypellfrob.h', |
1578 | | - 'sage/schemes/hyperelliptic_curves/hypellfrob/recurrences_ntl.h', |
1579 | | - 'sage/schemes/hyperelliptic_curves/hypellfrob/recurrences_zn_poly.h'], |
1580 | | - language = 'c++', |
1581 | | - include_dirs = ['sage/libs/ntl/', |
1582 | | - 'sage/schemes/hyperelliptic_curves/hypellfrob/']), |
1583 | | - |
1584 | | - Extension('sage.schemes.toric.divisor_class', |
1585 | | - sources = ['sage/schemes/toric/divisor_class.pyx']), |
| 1314 | + Extension('*', ['sage/schemes/**/*.pyx']), |
1586 | 1315 |
|
1587 | 1316 | ################################ |
1588 | 1317 | ## |
|
1598 | 1327 | ## |
1599 | 1328 | ################################ |
1600 | 1329 |
|
1601 | | - Extension('sage.stats.hmm.util', |
1602 | | - sources = ['sage/stats/hmm/util.pyx']), |
1603 | | - |
1604 | | - Extension('sage.stats.hmm.distributions', |
1605 | | - sources = ['sage/stats/hmm/distributions.pyx']), |
1606 | | - |
1607 | | - Extension('sage.stats.hmm.hmm', |
1608 | | - sources = ['sage/stats/hmm/hmm.pyx']), |
1609 | | - |
1610 | | - Extension('sage.stats.hmm.chmm', |
1611 | | - sources = ['sage/stats/hmm/chmm.pyx']), |
1612 | | - |
1613 | | - Extension('sage.stats.intlist', |
1614 | | - sources = ['sage/stats/intlist.pyx']), |
1615 | | - |
1616 | | - Extension('sage.stats.distributions.discrete_gaussian_integer', |
1617 | | - sources = ['sage/stats/distributions/discrete_gaussian_integer.pyx', 'sage/stats/distributions/dgs_gauss_mp.c', 'sage/stats/distributions/dgs_gauss_dp.c', 'sage/stats/distributions/dgs_bern.c'], |
1618 | | - depends = ['sage/stats/distributions/dgs_gauss.h', 'sage/stats/distributions/dgs_bern.h', 'sage/stats/distributions/dgs_misc.h'], |
1619 | | - extra_compile_args = ["-D_XOPEN_SOURCE=600"]), |
| 1330 | + Extension('*', ['sage/stats/**/*.pyx']), |
1620 | 1331 |
|
1621 | 1332 | ################################ |
1622 | 1333 | ## |
1623 | 1334 | ## sage.structure |
1624 | 1335 | ## |
1625 | 1336 | ################################ |
1626 | 1337 |
|
1627 | | - # Compile this with -Os because it works around a bug with |
1628 | | - # GCC-4.7.3 + Cython 0.19 on Itanium, see Trac #14452. Moreover, it |
1629 | | - # actually results in faster code than -O3. |
1630 | | - Extension('sage.structure.element', |
1631 | | - sources = ['sage/structure/element.pyx'], |
1632 | | - extra_compile_args=["-Os"]), |
1633 | | - |
1634 | 1338 | Extension('*', ['sage/structure/*.pyx']), |
1635 | 1339 |
|
1636 | 1340 | ################################ |
|
1647 | 1351 | ## |
1648 | 1352 | ################################ |
1649 | 1353 |
|
1650 | | - Extension('sage.tests.stl_vector', |
1651 | | - sources = ['sage/tests/stl_vector.pyx'], |
1652 | | - language = 'c++'), |
| 1354 | + Extension('*', ['sage/tests/**/*.pyx']) |
1653 | 1355 |
|
1654 | | - Extension('sage.tests.cython', |
1655 | | - sources = ['sage/tests/cython.pyx']), |
1656 | 1356 | ] |
0 commit comments