Commit 10a6f9a6 authored by Eliot Berriot's avatar Eliot Berriot

Version bump and CHANGES update

parent fa5ca1ec
Changelog Changelog
========= =========
0.2.1
*****
13/10/2014:
- Added tox to testing process (persisting theory is now tested under Python 2.7 and 3.4)
- Moved test directory outside of persisting-theory
- Set ``force_reload`` defaut to ``False`` to in Registry.autodiscover()
0.2.0 0.2.0
***** *****
......
from .registries import Registry, meta_registry from .registries import Registry, meta_registry
__version__ = "0.2.0" __version__ = "0.2.1"
\ No newline at end of file \ No newline at end of file
...@@ -93,7 +93,7 @@ class Registry(OrderedDict): ...@@ -93,7 +93,7 @@ class Registry(OrderedDict):
return data return data
def autodiscover(self, apps, force_reload=True): def autodiscover(self, apps, force_reload=False):
""" """
Iterate throught every installed apps, trying to import `look_into` package Iterate throught every installed apps, trying to import `look_into` package
:param apps: an iterable of string, refering to python modules the registry will try to import via autodiscover :param apps: an iterable of string, refering to python modules the registry will try to import via autodiscover
......
...@@ -25,6 +25,6 @@ setup( ...@@ -25,6 +25,6 @@ setup(
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.4',
], ],
) )
\ No newline at end of file
...@@ -157,5 +157,6 @@ class RegistryTest(unittest.TestCase): ...@@ -157,5 +157,6 @@ class RegistryTest(unittest.TestCase):
with self.assertRaises(PostRegisterException): with self.assertRaises(PostRegisterException):
r.register("hello", name="world") r.register("hello", name="world")
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment