Fix Python examples to compile and run under Python 3
This commit is contained in:
parent
fd93beadf4
commit
b3ca22dc33
4 changed files with 51 additions and 30 deletions
|
|
@ -89,21 +89,10 @@ to look at the <a href="http://www.python.org/sigs/distutils-sig/">distutils</a>
|
|||
|
||||
<h2>Compatibility</h2>
|
||||
|
||||
The examples have been extensively tested on the following platforms:
|
||||
|
||||
<ul>
|
||||
<li>Linux
|
||||
<li>Solaris
|
||||
</ul>
|
||||
|
||||
All of the examples were last tested with the following configuration (9/1/2000):
|
||||
|
||||
<ul>
|
||||
<li>Sparc Solaris 2.8.
|
||||
<li>gcc-2.95.2
|
||||
<li>Python 1.6b1.
|
||||
</ul>
|
||||
For Python 3, set the environment variable <tt>PY3=1</tt>.
|
||||
This will ensure the 2to3 program is run prior to running any example.
|
||||
|
||||
<p>
|
||||
Your mileage may vary. If you experience a problem, please let us know by
|
||||
contacting us on the <a href="http://www.swig.org/mail.html">mailing lists</a>.
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue