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

Commit

Permalink
Replace is_package_installed("bliss") by features
Browse files Browse the repository at this point in the history
  • Loading branch information
timokau authored and mkoeppe committed Nov 26, 2019
1 parent 232ae1b commit 5543692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/module_list.py
@@ -1,6 +1,7 @@
import os
from distutils.extension import Extension
from sage.env import SAGE_LOCAL
from sage.features.bliss import BlissLibrary

SAGE_INC = os.path.join(SAGE_LOCAL, 'include')

Expand Down Expand Up @@ -398,7 +399,7 @@ def uname_specific(name, value, alternative):
["sage/graphs/bliss.pyx"],
language = "c++",
libraries = ['bliss'],
package = 'bliss'),
condition = BlissLibrary().is_present()),

Extension('sage.graphs.planarity',
sources = ['sage/graphs/planarity.pyx'],
Expand Down

0 comments on commit 5543692

Please sign in to comment.