lp:~acdha/meliae/setup.py-fix
- Get this branch:
- bzr branch lp:~acdha/meliae/setup.py-fix
Branch merges
- John A Meinel: Pending requested
-
Diff: 6 lines (+2/-0)1 file modifiedMANIFEST.in (+2/-0)
Branch information
Recent revisions
- 187. By Chris Adams
-
Added MANIFEST.in to include C headers
Otherwise installs from sdist tarballs fail because several generated .h and .c
files aren't included - 183. By John A Meinel
-
Default to only showing 100 parent references.
This should decrease memory consumption for some really big dumps, without
diminishing utility. (At least until we have a gui or something.) - 182. By John A Meinel
-
Use a set() to ensure we don't repeat parents.
Repeated children is useful, because stuff like dicts can do it, and it
lets you know the key:value. Repeated parents doesn't seem to do
anything but waste a lot of memory. - 180. By John A Meinel
-
fix the test-suite fallout from the previous change.
turns out there was a dict we weren't collapsing, that started getting
collapsed after the change.
However, it is a reasonable thing to be doing, since real-world is
unlikely to have the same problem. - 179. By John A Meinel
-
Remove the collapse_
instance_ dicts safety check. This means that we don't have to compute parents 2x.
I also determined (separately) why some dumps use so much memory for compute_parents,
it is because some objects can be referred to a huge number of times (check out None,
for example).
we should consider capping the parent lists (by default, but probably configurable).
It is pretty much impossible to actually make use of more than 100, and you have
to Proxy them to go via o.p anyway.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:meliae