forked from williamstein/psage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
44 lines (24 loc) · 1.06 KB
/
README.txt
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
This is the PSAGE library:
http://code.google.com/p/purplesage/
The target audience of PSAGE is research mathematicians, with an
emphasis on arithmetic geometry. PSAGE is closely related to Sage, but
is aimed squarely at research mathematicians.
BUILDING:
To build in place just do:
sage setup.py develop
To force all modules to rebuild do:
sage setup.py develop -ba
UNIT TESTS:
Install nose:
sage -sh; easy_install nose
Then from the root of the psage install:
nosetests -v --processes=8 # run 8 tests in parallel
DOCTESTS:
Do this to run 8 tests in parallel:
sage -tp 8 --force_lib psage/
A lot of doctests in certain parts of psage will fail. This is because various authors wrote doctests for code
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
import functions from psage. Fixing all this is something that needs to get done.
In general, whenever you doctest in psage, do
sage -t --force_lib
i.e., use the force_lib option.