Are you installing that utility or packaging for the repository
If understood - You wish to add dependencies only vs what appears to be the full python package
(using ldd or SBbuilder?)
Without getting into VL packaging/Slackware methodology
Perhaps try this:
http://wiki.wxpython.org/How to install wxPython#Linux_-_Building_from_the_source
Edit: Noticed you have a related post under "installation" Forum topic header
You are a packager - what is the script line Re creating the aformentioned file
The error Msg indicates a *named directory* as the target file name - perhaps the script just ommited the madatory trailing ( /)
If the script line does not also include a file name that directories' file name must be specified
E.G. created full /XXX_ path/file_name
P.S. Why not merge both requests