Fix pk lookup in _setup_next_sequence method.

Closes #31

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Add classmethod decorator to child factories methods

Closes #33,#34

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Fix version numbering.

Somehow, I forgot that I had release 1.2.0 :/

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Happy New Year!

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Improve README.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
README: fix download section.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Add test for dual class/factory inheritance.

If it works properly, this would make pylint happy.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Rewrite the whole documentation.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Add a Makefile.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Improve testing helpers.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Improve Iterator and SubFactory declarations.

* Iterator now cycles by default
* Iterator can be provided with a custom getter
* SubFactory accepts a factory import path as well

Deprecates:
* InfiniteIterator
* CircularSubFactory

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Tests: move disable_warnings to its own class.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Tests: improve deprecation warning detection in test_base.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Deprecate the extract_prefix option to PostGeneration.

Introduces a new, call-less syntax for the @post_generation decorator.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Improve coverage.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Get rid of the FACTORY_ABSTRACT rename.

This was just adding noise to an already complex release.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Update ChangeLog for 1.3.0

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Tests: run tox tests with warnings enabled.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Improve links in README.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
doc: Add recipe for SelfAttribute('..X').

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>