Changes between Version 8 and Version 9 of WindowsBuilds


Ignore:
Timestamp:
06/22/2016 11:36:41 PM (18 months ago)
Author:
Craig Rodrigues
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WindowsBuilds

    v8 v9  
    88
    99* Install packages mentioned in [https://github.com/twisted/twisted/blob/trunk/INSTALL.rst#installation-requirements Installation requirements]
     10* You must install the exact version of the MSVC compiler which matches you Python version: [https://wiki.python.org/moin/WindowsCompilers]
    1011
    11 === With MSVC ===
    12 Without Cygwin installed, you need MSVC installed for the cl.exe
    13 compiler, which is the default on windows.  Just issue the command:
     12=== Building ===
     13
     14Just issue the command:
    1415{{{
    1516$ python setup.py bdist_wheel
    16 }}}
    17 
    18 === With Mingw ===
    19 The easiest way to build the extensions without MSVC is to install MinGW, for example using the [http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780 automated installer].
    20 Then, create a distutils.cfg file in your distutils installation path (for example, C:\Python2.5\Lib\distutils\distutils.cfg), and put the following content:
    21 {{{
    22 [build]
    23 compiler=mingw32
    24 }}}
    25 
    26 And then issue {{{$ python setup.py install}}}. You can also pass the {{{--compiler=mingw32}}} option to the build command instead of using distutils.cfg.
    27 
    28 
    29 === With Cygwin ===
    30 With Cygwin installed, you need to make sure these two packages are installed:
    31   - gcc
    32   - gcc-mingw
    33 
    34 Once that's done, just issue the command:
    35 
    36 {{{
    37 python setup.py build --compiler=mingw32 install
    38 }}}
    39 
    40 If for some reason extensions won't build, try this instead:
    41 
    42 {{{
    43 python setup.py build_py build_scripts install --skip-build
    4417}}}
    4518
     
    6437
    6538
    66  * Cygwin
    67 
    68  You will need Cygwin, with the gcc-mingw package installed.  Get Cygwin at: http://cygwin.com
    69 
    70  DO NOT INSTALL CYGWIN PYTHON!
    71 
    72  DO NOT INSTALL CYGWIN PYTHON!
    73 
    74  (Install Native Windows Python.)
    75 
    76 
    77  * Inno Setup
    78 
    79  This creates nice self-installers with uninstall functionality:  http://www.jrsoftware.org/isinfo.php
    80 
    81  You need version 4.0.8 or above.  (5.0.8 or later preferred.)
    82 
    83 
    84  * Bootstrap Twisted
    85 
    86  You will need an existing installation of Twisted, as the build script uses some utilities within Twisted.  The "bare minimum" install described above will suffice.
    87 
    8839
    8940== TROUBLESHOOTING ==