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

Commit

Permalink
src/module_list.py: Move options for Extensions in sage.graphs.graph_…
Browse files Browse the repository at this point in the history
…decompositions to distutils directives
  • Loading branch information
mkoeppe committed Jun 3, 2020
1 parent a830304 commit 0295c8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/module_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,7 @@ def uname_specific(name, value, alternative):
sources = ['sage/graphs/strongly_regular_db.pyx']),

Extension('sage.graphs.graph_decompositions.rankwidth',
sources = ['sage/graphs/graph_decompositions/rankwidth.pyx'],
libraries=['rw']),
sources = ['sage/graphs/graph_decompositions/rankwidth.pyx']),

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

OptionalExtension('sage.graphs.graph_decompositions.tdlib',
sources = ['sage/graphs/graph_decompositions/tdlib.pyx'],
language="c++",
package = 'tdlib'),

Extension('sage.graphs.graph_decompositions.clique_separators',
Expand Down
1 change: 1 addition & 0 deletions src/sage/graphs/graph_decompositions/rankwidth.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# cython: binding=True
# distutils: libraries = rw
r"""
Rank Decompositions of graphs
Expand Down
4 changes: 4 additions & 0 deletions src/sage/graphs/graph_decompositions/tdlib.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# distutils: language = c++
# distutils: libraries = tdlib
# sage_setup: distribution = sage-tdlib

r"""
Interface with TdLib (algorithms for tree decompositions)
Expand Down

0 comments on commit 0295c8f

Please sign in to comment.