zodb install problem on Windows
Neil Hodgson
nhodgson at bigpond.net.au
Sun Jun 24 03:24:31 EDT 2001
I have just downloaded a recent (16/June) version of zodb from amk.ca.
Most of it builds and installs but running "setup.py install" in the zeo
directory on Windows gives:
...
running install_data
not copying zeo.conf (output up-to-date)
Traceback (most recent call last):
File "G:\Downloads\zodb\ZEO\setup.py", line 35, in ?
data_files = [("etc", ["zeo.conf"]),
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\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 60, in run
dir = convert_path(f[0])
File "c:\python21\lib\distutils\util.py", line 87, in convert_path
raise ValueError, "path '%s' cannot be absolute" % pathname
ValueError: path '/etc/rc.d/init.d' cannot be absolute
Which is caused by the Unix specific:
data_files = [("etc", ["zeo.conf"]),
("/etc/rc.d/init.d", ["misc/zeo"]),
("/usr/local/bin", ["misc/zeod"]),
]
Any ideas on how to install on Windows?
Neil
More information about the Python-list
mailing list