diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-30 16:58:50 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-30 16:58:50 +0200 |
commit | cca0a663c888dba18b319cf7b2017ec46347cf05 (patch) | |
tree | d99c5b95bbdc77bb343585265c4c579193edd247 /python | |
parent | Fixed ICE-8194 - Ice/objects crash with Ice debug library (diff) | |
download | ice-cca0a663c888dba18b319cf7b2017ec46347cf05.tar.bz2 ice-cca0a663c888dba18b319cf7b2017ec46347cf05.tar.xz ice-cca0a663c888dba18b319cf7b2017ec46347cf05.zip |
Fixed documentation files to use 80 columns
Diffstat (limited to 'python')
-rw-r--r-- | python/BuildInstructionsWindows.md | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/python/BuildInstructionsWindows.md b/python/BuildInstructionsWindows.md index ef6fdb4b4f1..a6d90b0b3ae 100644 --- a/python/BuildInstructionsWindows.md +++ b/python/BuildInstructionsWindows.md @@ -26,8 +26,9 @@ with the one used to build Ice for C++. The Python interpreter is readily available on Windows platforms. You can build it yourself using Microsoft Visual C++, or obtain a binary distribution from the Python web site. The Python 3.6.x binary distribution is compiled with Visual -C++ 14, while Python 2.7.x is compiled with Visual C++ 10. You should compile the -Ice extension with the same Visual C++ version as your Python binary distribution. +C++ 14, while Python 2.7.x is compiled with Visual C++ 10. You should compile +the Ice extension with the same Visual C++ version as your Python binary +distribution. Open a Visual Studio command prompt. For example, with Visual Studio 2015, you can open one of: @@ -49,39 +50,43 @@ Build the extension: > msbuild msbuild\ice.proj -This builds the extension with `Release` binaries for the default platform. -The extension will be placed in `python\x64\Release\IcePy.pyd` for the `x64` platform -and `python\Win32\Release\IcePy.pyd` for the `Win32` platform. +This builds the extension with `Release` binaries for the default platform. The +extension will be placed in `python\x64\Release\IcePy.pyd` for the `x64` +platform and `python\Win32\Release\IcePy.pyd` for the `Win32` platform. If you want to build a debug version of the extension, you can do so by setting the MSBuild `Configuration` property to `Debug`: > msbuild msbuild\ice.proj /p:Configuration=Debug -The debug version of the extension will be placed in `python\x64\Debug\IcePy_d.pyd` -for the `x64` platform and `python\Win32\Debug\IcePy_d.pyd` for the `Win32` platform. +The debug version of the extension will be placed in +`python\x64\Debug\IcePy_d.pyd` for the `x64` platform and +`python\Win32\Debug\IcePy_d.pyd` for the `Win32` platform. -> *For Debug builds a debug version of the Python interpreter must be installed.* +> *For Debug builds a debug version of the Python interpreter must be +> *installed.* -If you want to build the extension for a different platform than the Command Prompt's -default platform, you need to set the MSBuild property `Platform`. The supported -values for this property are `Win32` and `x64`. +If you want to build the extension for a different platform than the Command +Prompt's default platform, you need to set the MSBuild property `Platform`. The +supported values for this property are `Win32` and `x64`. -The following command builds the `x64` platform binaries with the `Release` configuration: +The following command builds the `x64` platform binaries with the `Release` +configuration: > msbuild msbuild\ice.proj /p:Configuration=Release /p:Platform=x64 -This command builds the `Win32` platform binaries with the `Release` configuration: +This command builds the `Win32` platform binaries with the `Release` +configuration: > msbuild msbuild\ice.proj /p:Configuration=Release /p:Platform=Win32 -> *When using the MSBuild Platform property, the build platform doesn't depend on -the command prompt's default platform.* +> *When using the MSBuild Platform property, the build platform doesn't depend +on the command prompt's default platform.* The build will use the default location for Python defined in `python\msbuild\ice.props`. You can override it by setting the `PythonHome` -MSBuild property. For example, the following command will use Python installation -from `C:\Python36-AMD64` instead of the default location: +MSBuild property. For example, the following command will use Python +installation from `C:\Python36-AMD64` instead of the default location: > msbuild msbuild\ice.proj /p:Configuration=Release /p:Platform=x64 /p:PythonHome=C:\Python36-AMD64 |