Quantcast

Problem running setuptools bdist_rpm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem running setuptools bdist_rpm

Brent Bushnell

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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-devel" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/cherrypy-devel
-~----------~----~----~----~------~----~------~--~---

Loading...