Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 184607
1
This is the PSAGE library:
2
3
http://code.google.com/p/purplesage/
4
5
The target audience of PSAGE is research mathematicians, with an
6
emphasis on arithmetic geometry. PSAGE is closely related to Sage, but
7
is aimed squarely at research mathematicians.
8
9
BUILDING:
10
11
To build in place just do:
12
13
sage setup.py develop
14
15
To force all modules to rebuild do:
16
17
sage setup.py develop -ba
18
19
20
UNIT TESTS:
21
22
Install nose:
23
24
sage -sh; easy_install nose
25
26
Then from the root of the psage install:
27
nosetests -v --processes=8 # run 8 tests in parallel
28
29
DOCTESTS:
30
31
Do this to run 8 tests in parallel:
32
33
sage -tp 8 --force_lib psage/
34
35
A lot of doctests in certain parts of psage will fail. This is because various authors wrote doctests for code
36
as if it were in Sage (or as if the file is pre-imported), but for the tests to pass in Sage one must explicitly
37
import functions from psage. Fixing all this is something that needs to get done.
38
39
In general, whenever you doctest in psage, do
40
41
sage -t --force_lib
42
43
i.e., use the force_lib option.
44
45
46