Brent
unread,Sep 2, 2009, 2:22:08 PM9/2/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cherrypy-devel
Hi folks,
While trying to build an RPM of CherryPy version 3.1.2 I ran into the
following error:
[brent@fc10 /opt/vendor/python/CherryPy-3.1.2]$ sudo python setup.py
bdist_rpm
.....
<snip>
....
running install_data
error: can't copy 'cherrypy/favicon.ico': doesn't exist or not a
regular file
error: Bad exit status from /var/tmp/rpm-tmp.B3lqaj (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.B3lqaj (%install)
error: command 'rpmbuild' failed with exit status 1
Adding the files listed in the install_data section of setup.py to the
MANIFEST seemed to remedy the problem.
[brent@fc10 /opt/vendor/python/CherryPy-3.1.2]$ diff MANIFEST
MANIFEST.orig
19,20d18
< cherrypy/favicon.ico
< cherrypy/LICENSE.txt
95,105d92
< cherrypy/scaffold/example.conf
< cherrypy/scaffold/site.conf
< cherrypy/scaffold/static/made_with_cherrypy_small.png
< cherrypy/test/style.css
< cherrypy/test/test.pem
< cherrypy/test/static/index.html
< cherrypy/test/static/dirback.jpg
< cherrypy/tutorial/tutorial.conf
< cherrypy/tutorial/README.txt
< cherrypy/tutorial/pdf_file.pdf
< cherrypy/tutorial/custom_error.html
Hopefully this is helpful.
Best,
Brent.