The setup.py script will now install wxPython's headers as part of the

standard install.

Moved the bulk of setup.py to wx/build/config.py so 3rd party modules
that wish to use the same setup/configuration code can do so simply by
importing this module form their own setup.py scripts.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-25 21:36:29 +00:00
parent c7e61a5ed2
commit 1128a89b82
6 changed files with 798 additions and 700 deletions

View File

@@ -1,5 +1,5 @@
#
# This file is a list of the directories whose contents shoudl be
# This file is a list of the directories whose contents should be
# included in any tarball, etc. for building wxPython.
#
# This list is generated with this command, run from the $WXWIN dir:
@@ -64,6 +64,7 @@ wxPython/src/mac
wxPython/src/msw
wxPython/SWIG
wxPython/wx
wxPython/wx/build
wxPython/wx/lib
wxPython/wx/lib/colourchooser
wxPython/wx/lib/editor

View File

@@ -98,6 +98,7 @@ Source: "wx\_xrc.pyd"; DestDir: "{app}\wx"; Components:
Source: "wx\*.py"; DestDir: "{app}\wx"; Components: core
Source: "wx\build\*.py"; DestDir: "{app}\wx\build"; Components: core
Source: "wx\lib\*.py"; DestDir: "{app}\wx\lib"; Components: core
Source: "wx\lib\*.wdr"; DestDir: "{app}\wx\lib"; Components: core
Source: "wx\lib\colourchooser\*.py"; DestDir: "{app}\wx\lib\colourchooser"; Components: core
@@ -269,6 +270,8 @@ Name: "{group}\Other wxPython Docs"; Filename: "{app}\wx\docs\wxPythonDocs.htm
Type: files; Name: "{app}\wx\*.pyc";
Type: files; Name: "{app}\wx\*.pyo";
Type: files; Name: "{app}\wx\*.pyd";
Type: files; Name: "{app}\wx\build\*.pyc";
Type: files; Name: "{app}\wx\build\*.pyo";
Type: files; Name: "{app}\wx\lib\*.pyc";
Type: files; Name: "{app}\wx\lib\*.pyo";
Type: files; Name: "{app}\wx\lib\colourchooser\*.pyc";

View File

@@ -22,7 +22,9 @@
# Should --enable-debug_flag be used in release builds? Using it
# defines __WXDEBUG__ and gives us runtime diagnostics that are turned
# into Python exceptions starting with 2.3.4. (So turning it on is a
# very helpful thing IMO and is recommended.)
# very helpful thing IMO and is recommended.) The code is still
# compiled with optimization flags and such when this option is used,
# it simply turns on some extra code.
%define debug_flag 1
@@ -173,11 +175,6 @@ cd $WXDIR/wxPython
cd $WXDIR/wxPython
# install the wxPython headers
cp -R include $RPM_BUILD_ROOT%{wxpref}
mkdir -p $RPM_BUILD_ROOT%{wxpref}/include/wx/wxPython/i_files
cp src/*.i $RPM_BUILD_ROOT%{wxpref}/include/wx/wxPython/i_files
# Since I want this RPM to be as generic as possible I won't let
# distutils copy the scripts (NO_SCRIPTS=1 above) since it will mangle