patch-setup_py 620 B

1234567891011121314151617
  1. $OpenBSD: patch-setup_py,v 1.2 2013/08/11 21:27:20 landry Exp $
  2. --- setup.py.orig Fri Oct 15 12:57:57 2010
  3. +++ setup.py Sun Aug 11 23:23:11 2013
  4. @@ -25,11 +25,7 @@ classifiers = [
  5. # but put them in tilecache/tilecache.cfg using setuptools
  6. # otherwise.
  7. extra = { }
  8. -if "--debian" in sys.argv:
  9. - extra['data_files']=[('/etc', ['tilecache.cfg']),('.',['dev.ini'])]
  10. - sys.argv.remove("--debian")
  11. -else:
  12. - extra['data_files']=[('TileCache', ['tilecache.cfg']),('.',['dev.ini'])]
  13. +extra['data_files']=[('${PREFIX}/share/examples/tilecache/', ['tilecache.cfg'])]
  14. setup(name='TileCache',
  15. version='2.11',