Skip to content

Commit 91f0caa

Browse files
committed
"Use yafowil.utils.entry_point decorator."
1 parent 46d6319 commit 91f0caa

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

HISTORY.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
History
33
=======
44

5-
1.2.1 (unreleased)
6-
------------------
5+
1.3 (unreleased)
6+
----------------
7+
8+
- Use ``yafowil.utils.entry_point`` decorator.
9+
[rnix]
710

811
- Cleanup macro registration.
912
[rnix]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44

55

6-
version = '1.2.1.dev0'
6+
version = '1.3.dev0'
77
shortdesc = 'Bootstrap Styles for YAFOWIL'
88
longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
99
longdesc += open(os.path.join(os.path.dirname(__file__), 'HISTORY.rst')).read()

src/yafowil/bootstrap/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from yafowil.base import factory
22
from yafowil.bootstrap.common import configure_factory
33
from yafowil.bootstrap.common import register_macros
4+
from yafowil.utils import entry_point
45
import os
56

67

@@ -21,11 +22,13 @@
2122
}]
2223

2324

25+
@entry_point(order=20)
2426
def register():
2527
factory.register_theme('bootstrap', 'yafowil.bootstrap',
2628
resourcedir, js=js, css=css)
2729

2830

31+
@entry_point(order=20)
2932
def configure():
3033
# only configure factory if not suppressed explicit
3134
if not os.environ.get('TESTRUN_MARKER'):

0 commit comments

Comments
 (0)