ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python27/share/doc/alt-python27-pycxx-devel/ |
Upload File : |
<html>
<head>
<title>PyCXX README</title>
<style>
H1, H2, H3, H4 {color: #000099;
background-color: lightskyblue}
h3 {position: relative; left: 20px}
p {position: relative; left: 20px; margin-right: 20px}
pre {color: #0000cc; background-color: #eeeeee; position: relative; left: 40px; margin-right: 80px;
border-style: solid; border-color: black; border-width: thin}
kbd {color: #990000}
p cite, ol cite, ul cite {font-family: monospace; font-style: normal; font-size: normal}
li var, pre var, p var, kbd var {color: #009900; font-style: italic}
li samp, pre samp, p samp, kbd samp {color: #009900; font-weight: bold}
li p {position: relative; left: 0}
table { position: relative; left: 20px; border: solid #888888 1px; background-color: #eeeeee}
table th {border: solid #888888 1px; background-color: #88dd88; color: black}
table td {border: solid #888888 1px}
table td.code {border: solid #888888 1px;font-family: monospace; font-style: normal; font-size: normal}
p.param {background-color: #eeeeee; border-top: lightskyblue solid 4}
</style>
</head>
<body>
<h1>PyCXX -- README</h1>
<h2>Installation using distutils</h2>
<h3>Windows Installation and Demo</h3>
<ol>
<li>Fetch <a href="http://prdownloads.sourceforge.net/cxx/pycxx-6.2.7.tar.gz">
http://prdownloads.sourceforge.net/cxx/pycxx-6.2.7.tar.gz</a></li>
<li>Expand the archive into a directory of your choosing C:\ for example.
Note: WinZip can expand .tar.gz files.</li>
<li>Install the PyCXX files:
<ol>
<li><pre>C:> cd \pycxx-6.2.7</pre></li>
<li><pre>C:\pycxx-6.2.7> python setup.py install</pre></li>
</ol>
</li>
<li>Build and run the demo extensions:
<ol>
<li><pre>C:> cd \pycxx-6.2.7</pre></li>
<li><pre>C:\pycxx-6.2.7> python setup_makefile.py win32 win32.mak </pre></li>
<li><pre>C:\pycxx-6.2.7> nmake -f win32.mak clean test</pre></li>
</ol>
</li>
</ol>
<h3>Unix Installation and Demo</h3>
<p>Note: distutils is not available for Python 1.5.2</p>
<ol>
<li>Fetch <a href="http://prdownloads.sourceforge.net/cxx/pycxx-6.2.7.tar.gz">
http://prdownloads.sourceforge.net/cxx/pycxx-6.2.7.tar.gz</a>
<li>Login as root. root access is typically needed on Unix systems to install the PyCXX files into the Python directories.
<li>Expand the archive into a directory of your choosing ~\ for example.
<li>Install the PyCXX files:
<ol>
<li><pre># cd ~/pycxx-6.2.7</pre>
<li><pre># python setup.py install</pre>
</ol>
<li>Build and run the demo extensions:
<ol>
<li><pre># cd ~/pycxx-6.2.7</pre></li>
<li><pre># python setup_makefile.py linux linux.mak</pre></li>
<li><pre># make -f linux.mak clean test</pre></li>
</ol>
</li>
</ol>
<h2>Revision History</h2>
<h3>Version 6.2.8 (10-May-2016)</h3>
<p>Fix crash when a member function is called via callMemberFunction() and that function raises an expection.</p>
<p>Found in comment on StackOverFlow. Fix memory size allocated for new objects. It used the wrong size calculation, but was big enough to avoid problems.</p>
<h3>Version 6.2.7 (28-Apr-2016)</h3>
<p>Fix missing ptr__Unicode_Type.</p>
<p>Fixes from learn0more@gmail.com make python2 also remember the m_module and add accessor functions.</p>
<p>Fix for indirection issues from Vivian De Smedt.</p>
<p>Update to work with latest Microsoft Visual C++ for python 2.7. All test run in Win32 and Win64.</p>
<p>PyCXX.html documention has been updated, especially with 2TO3 information.</p>
<p>Use delete[] for objects allocated with new[].</p>
<h3>Version 6.2.6 (04-Jan-2015)</h3>
<p>Fix build issue with GCC 4.2.1 on FreeBSD and Mac OS X (stop python defining isspace as a macro).</p>
<p>Remove support for python 3.1 (API's are unstable).</p>
<p>Add Python 3.3 support.</p>
<p>Patch from Michael Droettboom to fix compilation issues.</p>
<p>Patch from Michael Droettboom to add buffer interface for python3.</p>
<h3>Version 6.2.4 (3-Mar-2012)</h3>
<p>Fix memory leak in string encode and decode functions</p>
<p>Fix indirect python loading on windows - Bool_type was missing</p>
<h3>Version 6.2.3 (11-Mar-2011)</h3>
<h3>Version 6.2.2 (26-Dec-2010)</h3>
<p>Fix problem compiling against Python 3.1.3</p>
<h3>Version 6.2.1 (3-May-2010)</h3>
<p>Fix problems with new style classes</p>
<p>Replace all example makefile and project files with setup_makefile.py script.</p>
<p>Add APIs to make calling python functions easier. See TupleN(), callOnSelf(), self()</p>
<h3>Version 6.1.1 (26-Sep-2009)</h3>
<p>Supports Python 3 starting at Python 3.1 and Python 2</p>
<p>Code clean up to fix compiler warnings reported by gcc 4.2.1 on Mac OS X when building for Python 3.</p>
<h3>Version 6.1.0 (19-Jul-2009)</h3>
<p>Support Python 3 and Python 2</p>
</body>
</html>