File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2
2
History
3
3
=======
4
4
5
- 1.2.1 (unreleased)
6
- ------------------
5
+ 1.3 (unreleased)
6
+ ----------------
7
+
8
+ - Use ``yafowil.utils.entry_point `` decorator.
9
+ [rnix]
7
10
8
11
- Cleanup macro registration.
9
12
[rnix]
Original file line number Diff line number Diff line change 3
3
import os
4
4
5
5
6
- version = '1.2.1 .dev0'
6
+ version = '1.3 .dev0'
7
7
shortdesc = 'Bootstrap Styles for YAFOWIL'
8
8
longdesc = open (os .path .join (os .path .dirname (__file__ ), 'README.rst' )).read ()
9
9
longdesc += open (os .path .join (os .path .dirname (__file__ ), 'HISTORY.rst' )).read ()
Original file line number Diff line number Diff line change 1
1
from yafowil .base import factory
2
2
from yafowil .bootstrap .common import configure_factory
3
3
from yafowil .bootstrap .common import register_macros
4
+ from yafowil .utils import entry_point
4
5
import os
5
6
6
7
21
22
}]
22
23
23
24
25
+ @entry_point (order = 20 )
24
26
def register ():
25
27
factory .register_theme ('bootstrap' , 'yafowil.bootstrap' ,
26
28
resourcedir , js = js , css = css )
27
29
28
30
31
+ @entry_point (order = 20 )
29
32
def configure ():
30
33
# only configure factory if not suppressed explicit
31
34
if not os .environ .get ('TESTRUN_MARKER' ):
You can’t perform that action at this time.
0 commit comments