~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Matt Nordhoff
  • Date: 2009-03-06 13:19:38 UTC
  • mto: This revision was merged to the branch mainline in revision 297.
  • Revision ID: mnordhoff@mattnordhoff.com-20090306131938-roexw3he9snqfa35
Only pass the first 1 KB of the file to Pygments's guess_lexer.

Mercurial's syntax highlighting extension did this because the function seemed to have exponential performance. I don't know if that's still the case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    packages = ["loggerhead",
35
35
                "loggerhead/apps",
36
36
                "loggerhead/controllers",
37
 
                "loggerhead/templates",
38
 
                "bzrlib.plugins.loggerhead"],
39
 
    package_dir={'bzrlib.plugins.loggerhead':'.'},
 
37
                "loggerhead/templates"],
40
38
    package_data = {"loggerhead": ["templates/*.pt",
41
39
                                   "static/css/*.css",
42
40
                                   "static/javascript/*.js",