more tweaking of the build/distrib scripts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-10-20 16:19:34 +00:00
parent c3728eafab
commit b46c6fa3dd
3 changed files with 201 additions and 0 deletions

View File

@@ -437,3 +437,36 @@ setup(name = PKGDIR,
ext_modules = wxpExtensions,
)
#----------------------------------------------------------------------
# The pre-distutils binary distributions of wxPython included the demo
# as a subdirectory of the package dir. This doesn't really make sense
# for Linux/Unix platforms as it's not part of the package, and the user
# may want to tweak and learn without having to become root first.
#
# For now I am going to start distributing the demo as a separate tarball,
# but if I ever want to go back to the old way, this is how to do it the
# distutils way:
## from my_install_data import *
## Add this to the setup() call
## # Overridden command classes
## cmdclass = {'install_data': my_install_data},
## # non python files of examples
## data_files = [
## Data_Files(
## base_dir='install_lib',
## copy_to = 'wxPython',
## #strip_dirs = 2,
## template=[ 'graft demo',
## 'global-exclude CVS/*'
## ],
## preserve_path=1
## )
## ],