File: NOTES.developer

package info (click to toggle)
python-scipy 0.5.2-0.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 33,888 kB
  • ctags: 44,231
  • sloc: ansic: 156,256; cpp: 90,347; python: 89,604; fortran: 73,083; sh: 1,318; objc: 424; makefile: 342
file content (85 lines) | stat: -rw-r--r-- 2,374 bytes parent folder | download | duplicates (2)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
$Id: NOTES.developer 689 2003-03-08 16:59:39Z travo $
------------------------------------------------------------------------
NOTES for Developers
------------------------------------------------------------------------

pygist depends on:
- Python
- Numeric extension to Python
- Yorick's gist package

Layout of pygist directory
---------------------------

gist:  Python scripts
src:   gistCmodule.c
   gist:  Yorick gist subdirectory 
   play:  Yorick play subdirectory 

Updating pygist's src to new version of Yorick:
-----------------------------------------------

Specifically, the gist and play directories are copied directly 
from the Yorick distribution.  Diff Makefile.gist with gist/Makefile
to so if Makefile.gist needs changes.  Then copy Makefile.gist over 
the Makefile in the gist subdirectory.

Building and installing pygist:
-------------------------------

The compilation directions are in README.

It is possible to split the build from the install and make it a 
two-step process:

   python setup.py build
   python setup.py install 

The build command creates a subdirectory named "build".

To package for a new pygist distribution:
-----------------------------------------

   python setup.py sdist

------------------------------------------------------------------------
Additional notes:
------------------------------------------------------------------------

For unaligned access warnings on DEC Alpha:
------------------------------------------

   uac p nofix noprint sigbus

causes code to stop on unaligned accesses.

To compile a debug version of the extension:
--------------------------------------------

   python setup.py build -g
   python setup.py install

NOTE:  On the DEC Alpha, I get a load error with build -g, but if I 
       follow with an install (no -g), it load ok, and I get something
       that I can use with the debugger.

To run totalview on python:
---------------------------
   Be in the pygist directory for debugging, so src/gistCmodule.c is in
   the directory.
   Will need to respond to totalview questions for all shared modules
   loaded; answer "no" for all except gistCmodule.so. 

To run the test under yorick:
----------------------------
   yorick
   #include "testg.i"
   grtest
   quit

Be careful that netscape is not also running on X terminals.

   xcmap &

gives the colors available.