From 8916d00747c8e7b704ad549afcd8d0f88b6d861e Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 20 Dec 2001 17:07:50 +0000 Subject: [PATCH] Tools git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/setup.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/wxPython/setup.py b/wxPython/setup.py index 126f921919..57becb2bda 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #---------------------------------------------------------------------- -import sys, os, string +import sys, os, string, glob from distutils.core import setup, Extension from distutils.file_util import copy_file from distutils.dir_util import mkpath @@ -832,6 +832,19 @@ if not GL_ONLY and BUILD_DLLWIDGET: wxpExtensions.append(ext) +#---------------------------------------------------------------------- +# Tools and scripts +#---------------------------------------------------------------------- + +TOOLS = [("wxPython/tools", glob.glob("tools/*.py")), + ("wxPython/tools/XRCed", glob.glob("tools/XRCed/*.py") + + glob.glob("tools/XRCed/*.xrc") + + ["tools/XRCed/CHANGES", + "tools/XRCed/TODO", + "tools/XRCed/README"]), + ] + + #---------------------------------------------------------------------- @@ -858,6 +871,8 @@ if __name__ == "__main__": ext_package = PKGDIR, ext_modules = wxpExtensions, + + ##data_files = TOOLS, ) else: @@ -874,6 +889,7 @@ if __name__ == "__main__": ext_package = PKGDIR, ext_modules = wxpExtensions, + )