Vladimir Rusinov wrote: > Hello! > > I've written a small app, succesfully packaged it and trying to install. > I'm getting following error: > # python setup.py install -n
> running install_data > error: can't copy 'f': doesn't exist or not a regular file > > What the 'f'??? > data_files=[ > ('/etc/', 'files/etc/logmanager.conf'), > ('/etc/logmanager.d/', 'files/etc/logmanager.d/portage.py') > ], These need to be lists. data_files = [ ('/etc/', ['files/etc/logmanager.conf']), ('/etc/logmanager.d/', ['files/etc/logmanager.d/portage.py']), ], Since distutils is expecting a sequence, it tries to iterate over the string yielding individual characters, like 'f'. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list