~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Matt Nordhoff
  • Date: 2010-04-24 12:29:07 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20100424122907-z343wrafx7fdqqs1
Fix infinite recursion when unpickling Containers.

Unpickle tries to access a few attributes (__getstate__, etc.) before filling the __dict__, so __getattr__ went into a loop trying to find self._properties.

It's no longer possible to use properties that start with an underscore, but that's a bit icky anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    license = "GNU GPL v2 or later",
31
31
    maintainer = "Michael Hudson",
32
32
    maintainer_email = "michael.hudson@canonical.com",
33
 
    scripts = ["serve-branches"],
 
33
    scripts = ["start-loggerhead", "stop-loggerhead", "serve-branches"],
34
34
    packages = ["loggerhead",
35
35
                "loggerhead/apps",
36
36
                "loggerhead/controllers",
64
64
                                   "static/javascript/yui/build/yui-base/*",
65
65
                                   "static/images/*"]},
66
66
    data_files = [
67
 
        ('share/man/man1', ['serve-branches.1']),
 
67
        ('share/man/man1', ['start-loggerhead.1',
 
68
                            'stop-loggerhead.1',
 
69
                            'serve-branches.1']),
 
70
        ('share/doc/loggerhead', ['loggerhead.conf.example']),
68
71
        ],
69
72
    )