This file describes how to build the Python XPCOM C++ sources.
There are the following steps
Testing etc is described in the main readme.
Windows: Run the standard MOZENV.BAT used to build Mozilla. This sets MOZ_SRC
Unix: Set MOZ_SRC to point to the base source directory - assumes "mozilla" sub-directory with mozilla directory tree under that. eg: assuming /home/user/src/mozilla/dist/..."
export MOZ_SRC=/home/user/src
Windows: Set PYTHON_SRC to point to the base Python source directory. eg: assuming c:\src\python\PCBuild\...
set PYTHON_SRC=c:\src\python
Unix: Set PYTHON_SRC to point to the base of an "installed" Python tree. eg:
export PYTHON_SRC=/usr/local/ActivePython-1.6
You must ensure some environment variables are setup. The section on configuring environment variables explains how.
There are 2 build processes to run All C++ sources are in the xpcom\src directory.:
Finally, run the tests, where we also test everything imports correctly.
NOTE: Do not attempt to use "Setup.in" to create a Makefile
Finally, running the tests, where we also test everything imports correctly.