wxPython-src-2.6.1.0 install on slackware 10.1

Hi Gents,

I've been trying for two days now to get this installed properly,
but the directory structure in the tarball somehow doesn't seem
to match the documentation (wxPython/doc/BUILD.txt and
wxPython/doc/INSTALL.txt).

I can build and install the libraries just fine in/from a separate
build directory (even though I might add that the .make that's
described in BUILD.txt only exists in
~/source/wxPython-src-2.6.1.0/wxPython/distrib/msw),
however, I can't seem to get the actual python bindings installed.

If I run
cd ~/source/wxPython-src-2.6.1.0$
python wxPython/setup.py install I get
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
Traceback (most recent call last):
  File "setup.py", line 49, in ?
    copy_file('build_options.py', 'wx/build', update=1, verbose=1)
  File "/usr/lib/python2.4/distutils/file_util.py", line 118, in copy_file
    raise DistutilsFileError, \
distutils.errors.DistutilsFileError: can't copy 'build_options.py':
doesn't exist or not a regular file

If I
cd ~/source/wxPython-src-2.6.1.0/wxPython
python setup.py install
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
Traceback (most recent call last):
  File "setup.py", line 49, in ?
    copy_file('build_options.py', 'wx/build', update=1, verbose=1)
  File "/usr/lib/python2.4/distutils/file_util.py", line 118, in copy_file
    raise DistutilsFileError, \
distutils.errors.DistutilsFileError: can't copy 'build_options.py':
doesn't exist or not a regular file

Where/how is one actually supposed to run that install from?

Cheers,
Andrej

Hi Gents,

I've been trying for two days now to get this installed properly,
but the directory structure in the tarball somehow doesn't seem
to match the documentation (wxPython/doc/BUILD.txt and
wxPython/doc/INSTALL.txt).

I can build and install the libraries just fine in/from a separate
build directory (even though I might add that the .make that's
described in BUILD.txt only exists in
~/source/wxPython-src-2.6.1.0/wxPython/distrib/msw),
however, I can't seem to get the actual python bindings installed.

That .make and the .configure that the docs say, you must create them in
the bld directory.

If I run
cd ~/source/wxPython-src-2.6.1.0$
python wxPython/setup.py install I get
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
Traceback (most recent call last):
  File "setup.py", line 49, in ?
    copy_file('build_options.py', 'wx/build', update=1, verbose=1)
  File "/usr/lib/python2.4/distutils/file_util.py", line 118, in copy_file
    raise DistutilsFileError, \
distutils.errors.DistutilsFileError: can't copy 'build_options.py':
doesn't exist or not a regular file

If I
cd ~/source/wxPython-src-2.6.1.0/wxPython
python setup.py install
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
sh: None: command not found
Traceback (most recent call last):
  File "setup.py", line 49, in ?
    copy_file('build_options.py', 'wx/build', update=1, verbose=1)
  File "/usr/lib/python2.4/distutils/file_util.py", line 118, in copy_file
    raise DistutilsFileError, \
distutils.errors.DistutilsFileError: can't copy 'build_options.py':
doesn't exist or not a regular file

Where/how is one actually supposed to run that install from?

I'm not sure but I think that the script is trying to run the wx-config.
When you install the wxWidgets libs, there is a bin dir that is created.
This bin dir have the wx-config. You must edit the config.py file under
wxPython.
In the config.py search for the var WX_CONFIG and do this:
WX_CONFIG = '/path/to/wxWidgets_that_was_installed/bin/wx-config'

Ricardo

···

On Sun, 2005-07-17 at 10:01 +1200, Andrej Ricnik-Bay wrote: