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

Commit 0295c8f

Browse files
author
Matthias Koeppe
committed
src/module_list.py: Move options for Extensions in sage.graphs.graph_decompositions to distutils directives
1 parent a830304 commit 0295c8f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/module_list.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,7 @@ def uname_specific(name, value, alternative):
381381
sources = ['sage/graphs/strongly_regular_db.pyx']),
382382

383383
Extension('sage.graphs.graph_decompositions.rankwidth',
384-
sources = ['sage/graphs/graph_decompositions/rankwidth.pyx'],
385-
libraries=['rw']),
384+
sources = ['sage/graphs/graph_decompositions/rankwidth.pyx']),
386385

387386
Extension('sage.graphs.graph_decompositions.bandwidth',
388387
sources = ['sage/graphs/graph_decompositions/bandwidth.pyx']),
@@ -392,7 +391,6 @@ def uname_specific(name, value, alternative):
392391

393392
OptionalExtension('sage.graphs.graph_decompositions.tdlib',
394393
sources = ['sage/graphs/graph_decompositions/tdlib.pyx'],
395-
language="c++",
396394
package = 'tdlib'),
397395

398396
Extension('sage.graphs.graph_decompositions.clique_separators',

src/sage/graphs/graph_decompositions/rankwidth.pyx

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# cython: binding=True
2+
# distutils: libraries = rw
23
r"""
34
Rank Decompositions of graphs
45

src/sage/graphs/graph_decompositions/tdlib.pyx

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# distutils: language = c++
2+
# distutils: libraries = tdlib
3+
# sage_setup: distribution = sage-tdlib
4+
15
r"""
26
Interface with TdLib (algorithms for tree decompositions)
37

0 commit comments

Comments
 (0)