beancount_web_fix.diff 594 B

123456789101112131415
  1. Patch to allow bean-web to find stylesheet and images without requiring them to be in
  2. the local directory.
  3. diff -Nur beancount-1.0.orig/setup.py beancount-1.0/setup.py > beancount_web_fix.diff
  4. --- beancount-1.0.orig/setup.py 2009-03-31 13:40:55.000000000 -0700
  5. +++ beancount-1.0/setup.py 2010-09-12 14:54:36.521745100 -0700
  6. @@ -63,6 +63,7 @@
  7. 'beancount.fallback',
  8. 'beancount.fallback.elementtree',
  9. ],
  10. + package_data = {'beancount.web': ['*jpg', '*png', 'robots.txt', 'treetable.js', 'style.css']},
  11. scripts=scripts
  12. )