Ticket #74: setup.py.patch
-
setup.py
old new 1 from distutils.core import setup 1 from distutils.core import setup 2 from distutils.command.install import INSTALL_SCHEMES 3 4 # set default location for "data_files" to platform specific "site-packages" location 5 for scheme in INSTALL_SCHEMES.values(): 6 scheme['data'] = scheme['purelib'] 2 7 3 8 import sys 4 9 # patch distutils if it can't cope with the "classifiers" keyword … … 23 28 url="http://www.cherrypy.org", 24 29 license="BSD", 25 30 packages=["cherrypy", "cherrypy.lib", "cherrypy.lib.filter", "cherrypy.lib.filter.sessionfilter", "cherrypy.tutorial", "cherrypy.test"], 26 download_url="http://www.cherrypy.org/wiki/CherryPyDownload", 31 download_url="http://www.cherrypy.org/wiki/CherryPyDownload", 32 data_files=[('cherrypy/tutorial', ['cherrypy/tutorial/tutorial.conf','cherrypy/tutorial/README.txt',]), 33 ('cherrypy', ['cherrypy/favicon.ico',]), 34 ('cherrypy/test', ['cherrypy/test/style.css',]), 35 ('cherrypy/test/static', ['cherrypy/test/static/index.html',]), 36 ], 27 37 ) 28 38

