I am trying to use the latest egg released of the package (currently on version 0.2b2) but when I run buildout ends up with following error:
error: Setup script exited with error: can't copy 'src/collective/xmpp/chat/browser/resources': doesn't exist or not a regular file
Looks like something wrong with the git submodule inside the egg. The files are there, the MANIFEST.in looks good but still I have this error.
Any clue on this? @jcbrand have you successfully used this egg? As I am confused right now if is a local problem of mine or a problem with the egg.
Looks like easy_install has problems with git submodules. I'll have to debug further...
Now that its clear is not a local problem of mine I'll digg too into this, I'll keep you posted if I'll found something.
@jcbrand I found the problem. The way you create the egg is somehow wrong. Right now the problem is that in the egg under src/collective.xmpp.chat.egg-info/SOURCES.txt file is listed a folder src/collective/xmpp/chat/browser/resources. Under this SOURCES.txt should be listed only file paths, not folders.
I re-created the egg using bellow commands and everything went well, build and install were working after that:
python setup.py sdist --format=zip
Just curious, how did you generate the egg?
Did you manually edit SOURCES.txt? That is of course not a lasting solution.
I used the exact same command as you pasted there. In any case, using setuptools-git solves the problem.
I've made a new release 0.2b4
Thanks for the ticket and investigation.
@jcbrand thx too, everything works fine now with the latest egg.
I did't manually edited SOURCES.txt, I just took the sources and created the egg and everything went fine. Thats why I ask you how you did it as for me egg creation with the above command went just fine.
hmmm, did you perhaps have setuptools-git installed when you did this?
I also did it manually "python setup.py sdist --format=zip" but because I didn't have setuptools-git it didn't work.
Strange indeed. I used a clean virtualenv, no setuptools-git there. I think you can do my steps, I used https://github.com/eea/eea.relations/blob/master/buildouts/plone4/install.sh to create a virtualenv then I run the above mentioned command to create the egg.