4 <title>PyCXX README
</title>
7 H1, H2, H3, H4 {color: #
000099;
8 background-color: lightskyblue}
9 h3 {position: relative; left:
20px}
11 p {position: relative; left:
20px; margin-right:
20px}
12 pre {color: #
0000cc; background-color: #eeeeee; position: relative; left:
40px; margin-right:
80px;
13 border-style: solid; border-color: black; border-width: thin}
15 p cite, ol cite, ul cite {font-family: monospace; font-style: normal; font-size: normal}
16 li var, pre var, p var, kbd var {color: #
009900; font-style: italic}
17 li samp, pre samp, p samp, kbd samp {color: #
009900; font-weight: bold}
18 li p {position: relative; left:
0}
19 table { position: relative; left:
20px; border: solid #
888888 1px; background-color: #eeeeee}
20 table th {border: solid #
888888 1px; background-color: #
88dd88; color: black}
21 table td {border: solid #
888888 1px}
22 table td.code {border: solid #
888888 1px;font-family: monospace; font-style: normal; font-size: normal}
23 p.param {background-color: #eeeeee; border-top: lightskyblue solid
4}
29 <h1>PyCXX -- README
</h1>
31 <h2>Installation using distutils
</h2>
33 <h3>Windows Installation and Demo
</h3>
35 <li>Fetch
<a href=
"http://prdownloads.sourceforge.net/cxx/pycxx-6.2.2.tar.gz">
36 http://prdownloads.sourceforge.net/cxx/pycxx-
6.2.2.tar.gz
</a></li>
37 <li>Expand the archive into a directory of your choosing C:\ for example.
38 Note: WinZip can expand .tar.gz files.
</li>
40 <li>Install the PyCXX files:
42 <li><pre>C:
> cd \pycxx-
6.2.2</pre></li>
43 <li><pre>C:\pycxx-
6.2.2> python setup.py install
</pre></li>
46 <li>Build and run the demo extensions:
48 <li><pre>C:
> cd \pycxx-
6.2.2</pre></li>
49 <li><pre>C:\pycxx-
6.2.2> python setup_makefile.py win32 win32.mak
</pre></li>
50 <li><pre>C:\pycxx-
6.2.2> nmake -f win32.mak clean test
</pre></li>
56 <h3>Unix Installation and Demo
</h3>
57 <p>Note: distutils is not available for Python
1.5.2</p>
60 <li>Fetch
<a href=
"http://prdownloads.sourceforge.net/cxx/pycxx-6.2.2.tar.gz">
61 http://prdownloads.sourceforge.net/cxx/pycxx-
6.2.2.tar.gz
</a>
62 <li>Login as root. root access is typically needed on Unix systems to install the PyCXX files into the Python directories.
63 <li>Expand the archive into a directory of your choosing ~\ for example.
64 <li>Install the PyCXX files:
66 <li><pre># cd ~\pycxx-
6.2.2</pre>
67 <li><pre># python setup.py install
</pre>
69 <li>Build and run the demo extensions:
71 <li><pre># cd ~\pycxx-
6.2.2\Demo\Python2
</pre></li>
72 <li><pre># python setup_makefile.py linux linux.mak
</pre></li>
73 <li><pre># make -f linux.mak clean test
</pre></li>
78 <h2>Revision History
</h2>
80 <h3>Version
6.2.2 (
26-Dec-
210)
</h3>
81 <p>Fix problem compiling against Python
3.1.3</p>
83 <h3>Version
6.2.1 (
3-May-
2010)
</h3>
84 <p>Fix problems with new style classes
</p>
85 <p>Replace all example makefile and project files with setup_makefile.py script.
</p>
86 <p>Add APIs to make calling python functions easier. See TupleN(), callOnSelf(), self()
</p>
88 <h3>Version
6.1.1 (
26-Sep-
2009)
</h3>
89 <p>Supports Python
3 starting at Python
3.1 and Python
2</p>
90 <p>Code clean up to fix compiler warnings reported by gcc
4.2.1 on Mac OS X when building for Python
3.
</p>
92 <h3>Version
6.1.0 (
19-Jul-
2009)
</h3>
93 <p>Support Python
3 and Python
2</p>