Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>2.2 Building the Module on a Windows System </title> |
| 5 | <META NAME="description" CONTENT="2.2 Building the Module on a Windows System "> |
| 6 | <META NAME="keywords" CONTENT="pyOpenSSL"> |
| 7 | <META NAME="resource-type" CONTENT="document"> |
| 8 | <META NAME="distribution" CONTENT="global"> |
| 9 | <link rel="STYLESHEET" href="pyOpenSSL.css"> |
| 10 | <LINK REL="previous" href="building-unix.html"> |
| 11 | <LINK REL="up" href="building.html"> |
| 12 | <LINK REL="next" href="openssl.html"> |
| 13 | </head> |
| 14 | <body> |
| 15 | <DIV CLASS="navigation"> |
| 16 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 17 | <tr> |
| 18 | <td><A href="building-unix.html"><img src="previous.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 19 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 20 | alt="Previous Page" width="32"></A></td> |
| 21 | <td><A href="building.html"><img src="up.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 22 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 23 | alt="Up One Level" width="32"></A></td> |
| 24 | <td><A href="openssl.html"><img src="next.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 25 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 26 | alt="Next Page" width="32"></A></td> |
| 27 | <td align="center" width="100%">Python OpenSSL Manual</td> |
| 28 | <td><A href="contents.html"><img src="contents.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 29 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 30 | alt="Contents" width="32"></A></td> |
| 31 | <td><img src="blank.gif" |
| 32 | border="0" height="32" |
| 33 | alt="" width="32"></td> |
| 34 | <td><img src="blank.gif" |
| 35 | border="0" height="32" |
| 36 | alt="" width="32"></td> |
| 37 | </tr></table> |
| 38 | <b class="navlabel">Previous:</b> <a class="sectref" href="building-unix.html">2.1 Building the Module</A> |
| 39 | <b class="navlabel">Up:</b> <a class="sectref" href="building.html">2 Building and Installing</A> |
| 40 | <b class="navlabel">Next:</b> <a class="sectref" href="openssl.html">3 OpenSSL </A> |
| 41 | <br><hr> |
| 42 | </DIV> |
| 43 | <!--End of Navigation Panel--> |
| 44 | |
| 45 | <H2><A NAME="SECTION000320000000000000000"> </A> |
| 46 | <BR> |
| 47 | 2.2 Building the Module on a Windows System |
| 48 | </H2> |
| 49 | |
| 50 | <P> |
| 51 | Big thanks to Itamar Shtull-Trauring and Oleg Orlov for their help with |
| 52 | Windows build instructions. Same as for Unix systems, we have to separate |
| 53 | the <code>build_ext</code> and the <code>build</code>. |
| 54 | |
| 55 | <P> |
| 56 | Building the library: |
| 57 | |
| 58 | <P> |
| 59 | <dl><dd><pre class="verbatim"> |
| 60 | setup.py build_ext -I ...\openssl\inc32 -L ...\openssl\out32dll |
| 61 | setup.py build |
| 62 | </pre></dl> |
| 63 | |
| 64 | <P> |
| 65 | Where <code>...\openssl</code> is of course the location of your OpenSSL installation. |
| 66 | |
| 67 | <P> |
| 68 | Installation is the same as for Unix systems: |
| 69 | <dl><dd><pre class="verbatim"> |
| 70 | setup.py install |
| 71 | </pre></dl> |
| 72 | |
| 73 | <P> |
| 74 | And similarily, you can do |
| 75 | <dl><dd><pre class="verbatim"> |
| 76 | setup.py --help |
| 77 | </pre></dl> |
| 78 | |
| 79 | <P> |
| 80 | to get more information. |
| 81 | |
| 82 | <P> |
| 83 | |
| 84 | <DIV CLASS="navigation"> |
| 85 | <p><hr> |
| 86 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 87 | <tr> |
| 88 | <td><A href="building-unix.html"><img src="previous.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 89 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 90 | alt="Previous Page" width="32"></A></td> |
| 91 | <td><A href="building.html"><img src="up.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 92 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 93 | alt="Up One Level" width="32"></A></td> |
| 94 | <td><A href="openssl.html"><img src="next.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 95 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 96 | alt="Next Page" width="32"></A></td> |
| 97 | <td align="center" width="100%">Python OpenSSL Manual</td> |
| 98 | <td><A href="contents.html"><img src="contents.gif" |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 99 | border="0" height="32" |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 100 | alt="Contents" width="32"></A></td> |
| 101 | <td><img src="blank.gif" |
| 102 | border="0" height="32" |
| 103 | alt="" width="32"></td> |
| 104 | <td><img src="blank.gif" |
| 105 | border="0" height="32" |
| 106 | alt="" width="32"></td> |
| 107 | </tr></table> |
| 108 | <b class="navlabel">Previous:</b> <a class="sectref" href="building-unix.html">2.1 Building the Module</A> |
| 109 | <b class="navlabel">Up:</b> <a class="sectref" href="building.html">2 Building and Installing</A> |
| 110 | <b class="navlabel">Next:</b> <a class="sectref" href="openssl.html">3 OpenSSL </A> |
| 111 | <hr> |
Jean-Paul Calderone | 215d51b | 2009-11-13 09:19:21 -0500 | [diff] [blame^] | 112 | <span class="release-info">Release 0.10.</span> |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 113 | </DIV> |
| 114 | <!--End of Navigation Panel--> |
| 115 | |
| 116 | </BODY> |
| 117 | </HTML> |