Build/distrib things for the new pycwrap too and the new PyCrust
pacakge dir. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1153,7 +1153,7 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/mobile/styles/*.cpp $(DISTDIR)/samples/mobile/styles
|
cp $(SAMPDIR)/mobile/styles/*.cpp $(DISTDIR)/samples/mobile/styles
|
||||||
cp $(SAMPDIR)/mobile/styles/*.h $(DISTDIR)/samples/mobile/styles
|
cp $(SAMPDIR)/mobile/styles/*.h $(DISTDIR)/samples/mobile/styles
|
||||||
cp $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles
|
cp $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/dialup
|
mkdir $(DISTDIR)/samples/dialup
|
||||||
cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
|
cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
|
||||||
cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
|
cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
|
||||||
@@ -1449,6 +1449,7 @@ PYTHON_DIST:
|
|||||||
mkdir $(DISTDIR)/wxPython/wxPython
|
mkdir $(DISTDIR)/wxPython/wxPython
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib
|
mkdir $(DISTDIR)/wxPython/wxPython/lib
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib/PyCrust
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/PyCrust
|
||||||
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/PyCrust/decor
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib/colourchooser
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/colourchooser
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib/mixins
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/mixins
|
||||||
@@ -1481,6 +1482,7 @@ PYTHON_DIST:
|
|||||||
cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
|
cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
|
||||||
cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
|
cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
|
||||||
cp $(WXDIR)/wxPython/wxPython/lib/PyCrust/*.py $(DISTDIR)/wxPython/wxPython/lib/PyCrust
|
cp $(WXDIR)/wxPython/wxPython/lib/PyCrust/*.py $(DISTDIR)/wxPython/wxPython/lib/PyCrust
|
||||||
|
cp $(WXDIR)/wxPython/wxPython/lib/PyCrust/decor/*.py $(DISTDIR)/wxPython/wxPython/lib/PyCrust/decor
|
||||||
cp $(WXDIR)/wxPython/wxPython/lib/colourchooser/*.py $(DISTDIR)/wxPython/wxPython/lib/colourchooser
|
cp $(WXDIR)/wxPython/wxPython/lib/colourchooser/*.py $(DISTDIR)/wxPython/wxPython/lib/colourchooser
|
||||||
cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
|
cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
|
||||||
cp $(WXDIR)/wxPython/wxPython/lib/mixins/*.py $(DISTDIR)/wxPython/wxPython/lib/mixins
|
cp $(WXDIR)/wxPython/wxPython/lib/mixins/*.py $(DISTDIR)/wxPython/wxPython/lib/mixins
|
||||||
|
@@ -159,6 +159,7 @@ Source: "scripts\img2xpm"; DestDir: "{code:GetPythonDir}\Script
|
|||||||
Source: "scripts\xrced"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
|
Source: "scripts\xrced"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
|
||||||
Source: "scripts\pyshell"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
|
Source: "scripts\pyshell"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
|
||||||
Source: "scripts\pycrust"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
|
Source: "scripts\pycrust"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
|
||||||
|
Source: "scripts\pycwrap"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
|
||||||
|
|
||||||
Source: "samples\doodle\*.py"; DestDir: "{app}\wxPython\samples\doodle"; Components: samples
|
Source: "samples\doodle\*.py"; DestDir: "{app}\wxPython\samples\doodle"; Components: samples
|
||||||
Source: "samples\doodle\*.txt"; DestDir: "{app}\wxPython\samples\doodle"; Components: samples
|
Source: "samples\doodle\*.txt"; DestDir: "{app}\wxPython\samples\doodle"; Components: samples
|
||||||
|
@@ -190,6 +190,7 @@ for s in \
|
|||||||
img2py \
|
img2py \
|
||||||
img2xpm \
|
img2xpm \
|
||||||
pycrust \
|
pycrust \
|
||||||
|
pycwrap \
|
||||||
pyshell \
|
pyshell \
|
||||||
xrced; do
|
xrced; do
|
||||||
cp scripts/$s $RPM_BUILD_ROOT/%{pref}/bin
|
cp scripts/$s $RPM_BUILD_ROOT/%{pref}/bin
|
||||||
|
@@ -22,6 +22,7 @@ scripts = [ ("img2png", 0),
|
|||||||
("xrced", 1),
|
("xrced", 1),
|
||||||
("pyshell", 1),
|
("pyshell", 1),
|
||||||
("pycrust", 1),
|
("pycrust", 1),
|
||||||
|
("pycwrap", 1),
|
||||||
("helpviewer", 1),
|
("helpviewer", 1),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
start E:\TOOLS\PYTHON22\pythonw.exe E:\projects\wx\wxPython\scripts\helpviewer %1 %2 %3 %4 %5 %6 %7 %8 %9
|
start e:\tools\Python22\pythonw.exe e:\PROJECTS\wx\wxPython\scripts\helpviewer %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
E:\TOOLS\PYTHON22\PYTHON.EXE E:\projects\wx\wxPython\scripts\img2png %1 %2 %3 %4 %5 %6 %7 %8 %9
|
e:\tools\Python22\python.exe e:\PROJECTS\wx\wxPython\scripts\img2png %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
E:\TOOLS\PYTHON22\PYTHON.EXE E:\projects\wx\wxPython\scripts\img2py %1 %2 %3 %4 %5 %6 %7 %8 %9
|
e:\tools\Python22\python.exe e:\PROJECTS\wx\wxPython\scripts\img2py %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
E:\TOOLS\PYTHON22\PYTHON.EXE E:\projects\wx\wxPython\scripts\img2xpm %1 %2 %3 %4 %5 %6 %7 %8 %9
|
e:\tools\Python22\python.exe e:\PROJECTS\wx\wxPython\scripts\img2xpm %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
start E:\TOOLS\PYTHON22\pythonw.exe E:\projects\wx\wxPython\scripts\pycrust %1 %2 %3 %4 %5 %6 %7 %8 %9
|
start e:\tools\Python22\pythonw.exe e:\PROJECTS\wx\wxPython\scripts\pycrust %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
7
wxPython/scripts/pycwrap
Executable file
7
wxPython/scripts/pycwrap
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from wxPython.lib.PyCrust.wrap import main
|
||||||
|
import sys, os
|
||||||
|
|
||||||
|
sys.path.insert(0, os.curdir)
|
||||||
|
main(sys.argv)
|
3
wxPython/scripts/pycwrap.bat
Executable file
3
wxPython/scripts/pycwrap.bat
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
start e:\tools\Python22\pythonw.exe e:\PROJECTS\wx\wxPython\scripts\pycwrap %1 %2 %3 %4 %5 %6 %7 %8 %9
|
@@ -1,3 +1,3 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
start E:\TOOLS\PYTHON22\pythonw.exe E:\projects\wx\wxPython\scripts\pyshell %1 %2 %3 %4 %5 %6 %7 %8 %9
|
start e:\tools\Python22\pythonw.exe e:\PROJECTS\wx\wxPython\scripts\pyshell %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
start E:\TOOLS\PYTHON22\pythonw.exe E:\projects\wx\wxPython\scripts\xrced %1 %2 %3 %4 %5 %6 %7 %8 %9
|
start e:\tools\Python22\pythonw.exe e:\PROJECTS\wx\wxPython\scripts\xrced %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
@@ -13,7 +13,7 @@ from distutils.command.install_data import install_data
|
|||||||
# flags and values that affect this script
|
# flags and values that affect this script
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
VERSION = "2.4.0.4p"
|
VERSION = "2.4.0.4"
|
||||||
DESCRIPTION = "Cross platform GUI toolkit for Python"
|
DESCRIPTION = "Cross platform GUI toolkit for Python"
|
||||||
AUTHOR = "Robin Dunn"
|
AUTHOR = "Robin Dunn"
|
||||||
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"
|
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"
|
||||||
@@ -1180,6 +1180,7 @@ else:
|
|||||||
opj('scripts/xrced'),
|
opj('scripts/xrced'),
|
||||||
opj('scripts/pyshell'),
|
opj('scripts/pyshell'),
|
||||||
opj('scripts/pycrust'),
|
opj('scripts/pycrust'),
|
||||||
|
opj('scripts/pycwrap'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@@ -1204,6 +1205,7 @@ if __name__ == "__main__":
|
|||||||
PKGDIR+'.lib.editor',
|
PKGDIR+'.lib.editor',
|
||||||
PKGDIR+'.lib.mixins',
|
PKGDIR+'.lib.mixins',
|
||||||
PKGDIR+'.lib.PyCrust',
|
PKGDIR+'.lib.PyCrust',
|
||||||
|
PKGDIR+'.lib.PyCrust.decor',
|
||||||
PKGDIR+'.tools',
|
PKGDIR+'.tools',
|
||||||
PKGDIR+'.tools.XRCed',
|
PKGDIR+'.tools.XRCed',
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user