Issue #885 resolved

cherryd should be installed as a script

Anonymous created an issue

When installing cherrypy using python setup.py install, cherryd should be installed as a script.

distutil offers such a feature: http://docs.python.org/distutils/setupscript.html#installing-scripts

The following patch fix this:

Index: setup.py

--- setup.py (revision 2087) +++ setup.py (working copy) @@ -44,8 +44,7 @@ ] download_url="http://download.cherrypy.org/cherrypy/3.1.0/" data_files=[ - ('cherrypy', ['cherrypy/cherryd', - 'cherrypy/favicon.ico', + ('cherrypy', ['cherrypy/favicon.ico', 'cherrypy/LICENSE.txt', ]), ('cherrypy/process', []), @@ -96,6 +95,7 @@ packages=packages, download_url=download_url, data_files=data_files, + scripts=('cherrypy/cherryd',) )

Reported by henry@precheur.org

Comments (2)

  1. Log in to comment