Changes between Version 15 and Version 16 of Python_SIP/Build_Install
- Timestamp:
- May 6, 2009 9:44:48 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python_SIP/Build_Install
v15 v16 64 64 1. '''Optional: debug package''': the debug package is useful if you want to debug the C extension. You can download it from ftp://ftp.activestate.com/ActivePython/etc/ 65 65 66 ==== Visual Studio Setup ==== 67 68 1. Add Python include directory (e.g. {{{C:\Python24\include}}}) to Visual Studio include directories. 69 1. Add Python library directory (e.g. {{{C:\Python24\libs}}}) to Visual Studio library directories. 70 66 71 ==== Building the Modules ==== 67 72 68 '''Step 1: Building the C Extension''': 73 '''Step 1: Building the C Extension''' 74 75 Visual Studio 6: 69 76 1. Open '''pjsip-apps.dsw''' from {{{pjsip-apps\build}}} directory. 70 77 1. Select '''python_pjsua''' project as the active project. 71 78 1. Build the project 72 79 1. The {{{_pjsua.pyd}}} Python module will be placed in {{{pjsip-apps\lib}}} directory. 80 - or in case of debug, it will be {{{_pjsua_d.pyd}}} 81 82 Visual Studio 2005: 83 1. Open '''pjproject-vs8.sln''' from the PJSIP distribution directory. 84 1. Select either '''Debug''' or '''Release''' from the build configuration 85 - Note: the Python module does not support other build configurations. 86 1. In Visual Studio, right click '''py_pjsua''' project from the ''Solution Explorer'' panel, and select '''Build''' from the pop-up menu. 87 - Note: the ''py_pjsua'' project is not built by default if you build the solution, hence it needs to be built manually by right-clicking and select ''Build'' from the pop-up menu. 88 1. The {{{_pjsua.pyd}}} Python module will be placed in {{{pjsip-apps\lib}}} directory. 89 - or in case of debug, it will be {{{_pjsua_d.pyd}}} 90 73 91 74 92 '''Step 2: Installing the Modules''':