We have a custom written zope/plone app where the developers have gone missing. In an effort to at least have some documentation on how to deploy this I'm trying to re-deploy our app in a VM so I know how to do so in the future.
Unfortunately I am stuck. The buildout fails.
This should be using a virtualenv which seems to have setuptools loaded in the site-packages directory. The setup.py where I'm running the buildout from has an "import setup from setuptools" line, rather than a distutils line like I've seen google mention for the errors in the pastebin post.
bin/buildout -v -c ./deploy.cfg labcore:etc-user=labcore labcore:prefix=$PWD install pyuno-link pyuno-setup pyuno py app test apache-solr builddeps
Installing 'zc.buildout', 'setuptools'.
We have the distribution that satisfies 'zc.buildout==1.6.1'.
We have the distribution that satisfies 'setuptools==0.6c11'.
Develop: '/home/labcore/labcore.lims/.'
While:
Installing.
Processing develop directory '/home/labcore/labcore.lims/.'.
Error: Installing develop egg failed: /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution
option: 'extras_require'
warnings.warn(msg)
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'namespace_packages'
warnings.warn(msg)
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'include_package_data'
warnings.warn(msg)
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'develop'
Can anyone give me any suggestions on what to try?
Traceback (most recent call last):
File "/home/labcore/.buildout/eggs/zc.buildout-1.6.1-py2.6.egg/zc/buildout/buildout.py", line 1848, in main
getattr(buildout, command)(args)
File "/home/labcore/.buildout/eggs/zc.buildout-1.6.1-py2.6.egg/zc/buildout/buildout.py", line 480, in install
installed_develop_eggs = self._develop()
File "/home/labcore/.buildout/eggs/zc.buildout-1.6.1-py2.6.egg/zc/buildout/buildout.py", line 720, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/home/labcore/.buildout/eggs/zc.buildout-1.6.1-py2.6.egg/zc/buildout/easy_install.py", line 1188, in develop
raise zc.buildout.UserError("Installing develop egg failed: %s" % p.stderr.read())
Well good news is I got further on it. I figured out the setuptools egg didn't have an EGG-INFO directory, it was named setuptools.egg-info instead of just EGG-INFO (not sure why?)
But now I'm stuck with
We have no distributions for cns.recipe.symlink that satisfies 'cns.recipe.symlink==0.2.3'.
But cns.recipe.symlink is in my find-files URL for sure.
Well I found out part of the problem. The buildout config find-links URL I was using was an IIS based host. And while I could see the file list in a browser the buildout wouldn't fetch them. When I moved the files to a Linux web server it was able to fetch them.
Might be a setting I missed in IIS?
Either way the build appears to finish but I'm missing other stuff.