#9 Win32 Gotchas

v1.2
closed
nobody
None
5
2002-12-28
2002-12-04
Joseph Griffin
No

in setup.py
need to change "../README" to "README"

Where is "PyutPrefs.dat'"? It is not part of the
distribution.

Remove "PyutPrefs.dat" in setup.py and type
python setup.py py2exe

and it runs till...

Traceback (most recent call last):
File "setup.py", line 21, in ?
data_files=[
File "C:\Python21\lib\distutils\core.py", line 138, in
setup
dist.run_commands()
File "C:\Python21\lib\distutils\dist.py", line 899, in
run_commands
self.run_command(cmd)
File "C:\Python21\lib\distutils\dist.py", line 919, in
run_command
cmd_obj.run()
File "C:\Python21\py2exe\build_exe.py", line 299, in
run
install.run()
File "C:\Python21\lib\distutils\command\install.py", line
484, in run
self.run_command(cmd_name)
File "C:\Python21\lib\distutils\cmd.py", line 328, in
run_command
self.distribution.run_command(command)
File "C:\Python21\lib\distutils\dist.py", line 919, in
run_command
cmd_obj.run()
File "C:\Python21
\lib\distutils\command\install_data.py", line 67, in run
data = convert_path(data)
File "C:\Python21\lib\distutils\util.py", line 87, in
convert_path
raise ValueError, "path '%s' cannot be absolute" %
pathname
ValueError: path '/CHANGELOG' cannot be absolute

Discussion

  • Cédric Dutoit
    Cédric Dutoit
    2002-12-28

    • status: open --> closed