Skip to content
Browse files

Prepare for release 0.2

  • Loading branch information...
1 parent 4d733d0 commit 9a8d65579cb0c9412260b37847da891071ac98ce @jbeluch committed Aug 28, 2012
Showing with 15 additions and 6 deletions.
  1. +6 −0 CHANGES
  2. +1 −1 setup.py
  3. +8 −5 xam/addon.py
View
6 CHANGES
@@ -1,3 +1,9 @@
+Version 0.2
+-------------
+
+* Add `xam release`
+* Fix broken imports
+
Version 0.1
-----------
View
2 setup.py
@@ -39,7 +39,7 @@ def get_requires():
setup(
name='xam',
- version='0.2-dev',
+ version='0.2',
url='http://github.com/jbeluch/xam/',
license='BSD',
author='Jonathan Beluch',
View
13 xam/addon.py
@@ -99,11 +99,14 @@ def dependencies(self):
for required in requires.findall('import'))
return {}
- #@property
- #def extensions(self):
- #extensions = self.xml.findall('extension')
- #if extensions:
- #return dict((ext.get('point')
+ @property
+ def extensions(self):
+ '''Returns a dict of extension xml nodes keyed by the 'point'
+ attribute.
+ '''
+ extensions = self.xml.findall('extension')
+ if extensions:
+ return dict((ext.get('point'), ext) for ext in extensions)
@property
@silence_attr_error

0 comments on commit 9a8d655

Please sign in to comment.
Something went wrong with that request. Please try again.