Révision 270
pobysoPythonSage/src/sageSLZ/runSLZ-113proj.sage (revision 270) | ||
---|---|---|
19 | 19 |
""" |
20 | 20 |
Load all necessary modules. |
21 | 21 |
""" |
22 |
compiledSpyxDir = "/home/storres/recherche/arithmetique/pobysoPythonSage/compiledSpyx" |
|
23 |
if compiledSpyxDir not in sys.path: |
|
24 |
sys.path.append(compiledSpyxDir) |
|
25 |
if not 'mpfi' in sage.misc.cython.standard_libs: |
|
26 |
sage.misc.cython.standard_libs.append('mpfi') |
|
22 |
if version().split()[2].replace(',','') > '6.6': |
|
23 |
compiledSpyxDir = \ |
|
24 |
"/home/storres/recherche/arithmetique/pobysoPythonSage/compiledSpyx" |
|
25 |
if compiledSpyxDir not in sys.path: |
|
26 |
sys.path.append(compiledSpyxDir) |
|
27 |
else: |
|
28 |
if not 'mpfi' in sage.misc.cython.standard_libs: |
|
29 |
sage.misc.cython.standard_libs.append('mpfi') |
|
30 |
load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageMpfr.spyx") |
|
31 |
load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageGMP.spyx") |
|
27 | 32 |
load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sollya_lib.sage") |
28 | 33 |
# load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageMpfr.spyx") |
29 | 34 |
# load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageGMP.spyx") |
... | ... | |
38 | 43 |
|
39 | 44 |
print "Running SLZ..." |
40 | 45 |
initialize_env() |
41 |
from sageMpfr import * |
|
42 |
from sageGMP import * |
|
46 |
if version().split()[2].replace(',','') > '6.6': |
|
47 |
from sageMpfr import * |
|
48 |
from sageGMP import * |
|
43 | 49 |
import sys |
44 | 50 |
from subprocess import call |
45 | 51 |
# |
Formats disponibles : Unified diff