1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
--- src/module_list.py
+++ src/module_list.py
@@ -517,12 +517,6 @@ ext_modules = [
Extension('sage.libs.ecl',
sources = ["sage/libs/ecl.pyx"]),
- OptionalExtension("sage.libs.fes",
- ["sage/libs/fes.pyx"],
- language = "c",
- libraries = ['fes'],
- package = 'fes'),
-
Extension('sage.libs.flint.flint',
sources = ["sage/libs/flint/flint.pyx"],
extra_compile_args = ["-D_XPG6"]),
--- src/sage/misc/package.py.orig 2014-11-23 15:58:13.000000000 +0100
+++ src/sage/misc/package.py 2015-01-22 20:32:25.651383902 +0100
@@ -336,7 +336,7 @@
Use the framework provided by :mod:`sage.features` to check
whether a library is installed and functional.
"""
- return any(p.split('-')[0] == package for p in installed_packages(exclude_pip))
+ return True
def package_versions(package_type, local=False):
--- src/sage_setup/optional_extension.py.orig 2016-10-19 18:35:10.092577510 +0000
+++ src/sage_setup/optional_extension.py 2016-10-19 18:38:13.514765366 +0000
@@ -21,8 +21,6 @@
from distutils.extension import Extension
from sage.misc.package import list_packages
-all_packages = list_packages(local=True)
-
class CythonizeExtension(Extension):
"""
@@ -76,15 +74,7 @@
condition = kwds.pop("condition")
except KeyError:
pkg = kwds.pop("package")
- from sage.misc.package import is_package_installed
- try:
- pkginfo = all_packages[pkg]
- except KeyError:
- # Might be an installed old-style package
- condition = is_package_installed(pkg)
- else:
- condition = (pkginfo["installed_version"] == pkginfo["remote_version"])
-
+ condition = True
if condition:
return Extension(*args, **kwds)
else:
|